White Lily: Principles and process for designing effective layouts
Jens Kristensen, Designerwww.csszengarden.com/036[View full size image]

Layout Principles for the Web
We often bandy about the word layout and simply mean the number of columns we want on a page. People learning CSS frequently approach layout that way, asking, "How do I create a three-column layout?" or "How do I create a layout with a header and a footer?" These are good questions, and important ones, but before even getting to the CSS, we should carefully study the principles behind why we might choose a given layout.NoteReaders familiar with other forms of graphic arts, such as print and package design, will quickly see that there are unique challenges when creating onscreen layouts. Newcomers to the study of Web design rapidly learn that laying out a page, while sharing some common techniques with print, is decidedly different than print.Techniques that assist with designing effective layouts are rooted in principles that have been around long before the Web. While certainly modified for the Web, these principles are a necessary foundation for creating layouts that not only look great, but also function well.Layout in all forms of graphic art serves a primary purpose: to organize content in an effective way. How that pans out visually is going to differ, depending upon your medium, content, and audience. A secondary concern with layout for the Web arises from the fact that the layout must support function, too. Links, menu systems, and forms are all examples of functionality that must be integrated effectively into any successful layout. Finally, layout is a cornerstone of a Web site's consistency, which is essential for usability and human comprehension.
Look Before You Leap
One of the most beneficial processes that later aided Kristensen during his creation of White Lily was his attempt to first organize the content with which he would be working.Organizing content serves several purposes. Most immediately, you get a clear overview of what must be dealt with, which naturally leads to prioritization of the material. This spurs further thinking about the layout and various approaches that might work to achieve the goals of form and function.Kristensen first grouped the CSS Zen Garden content into three categories:General Zen Garden info, such as the templates, the validation links, and the garden overviewZen Garden links and navigationThe main content
Using this specific information, he began to work on page composition. He now had two very specific goals: to meet his thematic ideas, and to present the content in three distinct sections. Several iterations were necessary to decide on a final style (FIGURE 1).
Figure 1. An alternate style for White Lily.
[View full size image]

Layout Solutions in White Lily
With a clear idea of how to proceed, Kristensen made his choices regarding management of theme and content.Kristensen determined that the photo of the lily would set the stage for the botanical feel he wanted. From the photo, he drew inspiration for his color scheme. He also took additional care in choosing embellishments that extended the botanical concept (FIGURE 2).
Figure 2. Three metaphorical floral symbols used within White Lily to enforce the botanical theme.

Figure 3. Addressing one of the explicit needs: to group related content effectively.
[View full size image]

Layout Inspiration and Guidelines
Once you have an idea of your overall goals, you can take advantage of helpful information to guide you while refining the layout. This section explores some of the primary concerns when working on layouts for the Web. Two main disciplines offer guidelines for designing great Web layoutsuser interface (UI) design and usability.
User Interface Design
Unlike print design, a Web page offers interaction, which means that it no longer contains just a passive message. User interface design is a relatively mature field due to the many aspects of computer technology that require interactive interfaces: Operating systems and software applications are both examples.Some of the fundamental principles of user interface design:Know your users, as they're the ones you are designing for.Keep the user oriented within the page and the site.Use familiar metaphors. A great example of this would be the shopping cart symbol on an e-commerce site. Even newcomers to the Web understand what the symbol signifies (FIGURE 4).
Figure 4. Metaphor is an important aspect of interface design. A shopping cart icon, like this one from amazon.com, is a universally recognized symbol, which has been adapted to use in online commerce.

Figure 5. The navigation links in White Lily.

Figure 6. Placing the page's mission statement in its own area within the layout helps make the purpose of the page easy to understand.

Interface designers are also very interested in aesthetics as they relate to function. Notice the arrows within the link headers in White Lily. Each of them is the same size, and each serves to provide both an aesthetically pleasing and helpful orientation to the visitor (FIGURE 7).
Figure 7. The arrows used with primary headers in the link lists are both aesthetically pleasing and functional, leading the viewer's eye toward the content below.

Usability
While conceptually related to user interface design (and having similar historical roots), usability has a different focus. User interface design is naturally concerned with usersthe primary study involves how developers and engineers work to address user needs.NoteA great resouce for user interface design and interactivity design is Boxes and Arrows (www.boxesandarrows.com).The study of usability, however, places its focus on the final user experience and how the user works with a developed user interface. Both studies are integrated in the sense that usability concerns work their way into UI design techniques and processes, and that user interfaces are presented to users for testing and, ultimately, improvements and modifications.As with UI design, the study of usability, which also emerged from other areas within computer technology, has been around for a long time. Web usability is a subset of usability, and comes with its own set of suggestions and guidelines.Some usability concerns related to layout design:Important information should go "above the fold." Of course, in Web design "above the fold" is a relative concept, but the point is clear: Make sure that any piece of information a user needs is immediately available as high on the page as possible. In White Lily this is accomplished by ensuring that the "brand" and page title are immediately visible (FIGURE 8).
Figure 8. The header, with important information about the page, is at the topmost portion of the screen.

This places a title in the browser bar, which assists with orientation (FIGURE 9).
<title>css Zen Garden: The Beauty in CSS Design</title>
Figure 9. A title in the title bar, while not specifically a part of layout, does help the user remain oriented within a site.

Figure 10. Identifying copyright or licensing is an important piece of content that should be managed effectively within the layout.

Figure 11. If search were to be made available in this layout, it could potentially appear above the links within the navigation portion of the layout.

Figure 12. Interestingly, indenting or offsetting text within any column can assist with the comprehension of the feature. In this case, the primary link list makes use of offsets, breaking up the column and giving the overall layout a more open feel.

NoteIn many layouts, footers are used to manage copyright, privacy, licensing, and related information. This is a common convention and useful when designing sites where this type of information is critical to the function of the organization or company.Of course, there's a lot more to usability, but incorporating these techniques while working with your layout will help flesh out important details relating to function and form, and, ultimately, to the user's experience of your design.
Follow a Process
White Lily demonstrates how following a distinct process can result in many of a layout's needs being addressed. Of course, design process is different for individual designers and design teams, and your process will likely vary in some significant ways.No matter what your process, it's clear that in this case, by first determining theme and then analyzing content, Jens Kristensen was able to follow a very clear-cut path to reach the end result: an attractive layout that users enjoy and understand.