Oceans Apart: Simplicity in type leads to lasting, effective design
Ryan Sims, Designerwww.csszengarden.com/085[View full size image]

Type Conventions
Typography is a specialty area of design. Many designers spend their entire career focused on the study, use, and creation of type. And while there's no single approach to creating effective type, there are some important conventions every designer should know.
Type Form
Type form is a general term that includes aspects of a typeface's appearance such as weight, width, and posture.Type weight refers to how heavy or light a given typeface is. In CSS, this relates to the font-weight property, which allows you to define how heavy or how light the text will appear. TABLE 1 shows examples of the font-weight property and its possible values.
Property and Value | Result |
---|---|
font-weight: normal | Displays the type in its normal state. It corresponds to the numeric weight of 400. |
font-weight: bold | Displays the font in bold, which usually corresponds to the numeric weight of 700, although in some faces bold might start at 600. |
font-weight: (300) | Displays a lighter than normal font weight, on a scale ranging from lightest (100) to boldest (900). |
font-weight: bolder | Displays the font weight as bolder than an inherited value. For example, if a paragraph's weight is already bold, and then a style for a strong element used within that paragraph is set to be bolder, the strong element will appear as darker. The only exception to this is if the parent weight is set to 900, in which case no bolder values exist, so the resulting weight remains 900. |
font-weight: lighter | Displays the font weight as lighter than an inherited value. If the inherited font weight is 300, the calculated value will be 200, if a variant exists at that weight. If the parent value is 100, the same issue as with the bolder value occurs, and the font will display with a weight of 100. |
font-weight: inherit | Ensures that a font's weight is inherited from its parent element. |
Figure 1. With no intermediary faces available, the browser does its best, often defaulting to normal and bold only.

Figure 2. Condensed, normal, and expanded versions of a font.

The font-style property supports values of normal, italic, oblique, and inherit.
Type Contrast
Type contrast is the variation between thick and thin lines within each letter. Different fonts have widely varying proportions between thick and thin, including some that have no variation at all.NoteOn the Web, many feel the opposite holds true: Sans serifs are better for body text onscreen. But, the debate continues. Read more about the controversy at www.digital-web.com/news/2004/06/serif_vs_sanserif.In standard print design, a common practice is to use one typeface for headers and another for all body text. Typically, sans serif type was used for headers, as the rounded, generally low-contrast letterforms are perfect for gaining attention. Serif type has long been the preference for body text in print, especially for long text sections. Most books you read follow this practice, but it's something that's still debated when it comes to the Web.
Type Color
Type color is a typographic term describing the overall shading of a block of text. A thin font like Helvetica Light has a light color because there is very little black ink in the block; a thick font like Cooper or Arial Black has a dark color because there's much more ink. Type color, then, is not just dependent on the typeface itself; other type properties such as tracking (kerning) and leading (line height) all influence the perceived color.Along with contrast, another element that adds interest to type design is the color chosen for the fonts used. Type hue comes into play with contrast, too, because you can have contrasting fonts as well as contrasting colors, creating a lot of options for the designer.Typically speaking, it's good for most designers to go easy on how many colors they use for their fonts. Of course, there are instances where multiple colors may make sensesuch as on a site for kids. But in most cases, overuse of color in type leads to unprofessional results.
Type Conventions in Oceans Apart
Sims's philosophy of simplicity is portrayed very clearly in Oceans Apart. All of the HTML-based text is set to Trebuchet, with several other sans serifs as fallbacks:
Trebuchet is a sans serif font that was part of the Microsoft core Web fonts and also comes as part of Microsoft Office. This means support for it is fairly broad, although having fallback fonts is always important.
body {font: 11px "trebuchet ms", arial, helvetica, sans-serif;}
Hue and Contrast Choices
The hue and contrast choices you make are critically important, not only for the design's integrity but also for the purposes of readability, which is the degree to which type can be read easily.Conventional type design suggests that designers should go for high-contrast foreground and background hues, such as black text on a white background or vice versa. Thisalong with other techniques listedis supposed to enhance readability.In Oceans Apart, Sims departs from firm convention and chooses a very subtle tan for his body text:
The contrast against the white background would be considered fairly low in this case (FIGURE 3). Interestingly, the links in both the body and along the links sidebar are a darker blue. Many designers would have chosen to use the blue for body text, because of its higher contrast (FIGURE 4).
color: #9F927F;
Figure 3. The design uses fairly low-contrast type.

Figure 4. Improving contrast by selecting a darker hue from the palette doesn't express the design in quite the same way.

Figure 5. Examining contrast in the header image for Oceans Apart.

Figure 6. Reverse type was used below the header.

Size Contrast and Color
Using a range of type sizes adds extra interest, providing a contrast between various type blocks on the page. In Oceans Apart, the effect is once again simple and subtle, but it works.The HTML-based text on the page features the default body text set to 11 pixels, along with the links in the primary link list. The secondary links are set to 9 pixels as are all the ancillary text items. It's amazing, though, what a difference 2 pixels can make when the type hues are contrasting too (FIGURE 7).
Figure 7. With the visual effect provided by contrast in both size and hue, 2 pixels seems more dramatic than one might expect.

Size Contrast and Weight
Returning again to the header image in Figure 5, you'll notice that in this graphic-based type, Sims used size and weight to create contrast. "css" is in lowercase and contrasts with the initial capitals of "Zen Garden." The tagline is a perfect example of weight contrast, where the word "beauty" is bold, but the surrounding text is normal weight.This carries through in the graphic directly beneath the photo, where the first seven words of the text are bold and the remainder of the sentence is normal weight, which you can see in Figure 6.
Relationship of Headers and Text
A final point to be aware of is the relationship of headers and text in Oceans Apart. Headers within the main body are graphical and use the blue mentioned earlier. The type is set with a very subtle drop shadowjust a hintwhich gives a polished look to the type and helps draw the eye to the headers.Speaking of drawing the eye, you'll notice one bit of type that is unlike anything else within the designthe header for the links section (FIGURE 8). Here you see graphic type in uppercase, a dark heavier blue in all capital letters against a blue background that contrasts with the soft tan backgrounds beneath it. This header stands out and provides an excellent visual grounding for the navigation options within the design.
Figure 8. Graphic type in uppercase, placed on a different background, stands out because it's the only place within the design where that distinct combination appears.

Learning from Simplicity
While at first glance Oceans Apart seems straightforward, the nuanced simplicity evokes a calm and easygoing feel within the design. Extra subtle touchesmany of which are found in the typeprovide some great lessons to consider while working with our own designs.