Tuesday 26th of July 2016 04:34:18 AM

The background image is placed one-third of the way across the page,and halfway down it, as depicted in Figure 6-42.

Figure 6-42

Figure 6-42. Declaring only one percentage means the vertical position evaluates to 50%

Table 6-2 gives a breakdown of keyword andpercentage equivalencies.

Table 6-2. Positional Equivalents

In case you were wondering, the default values for alt="Book Home" >

Cascading Style Sheets: The Definitive GuideSearch this book

Index

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z


PreviousHomeNext
D. CSS Suport ChartBook IndexColophon

Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.

6.1.2.1. Real-world issues

That's pretty much all there is to setting a background color.Well, except for one more small warning: Navigator 4 gets the placement ofbackground colors completely wrong. Instead of applying thebackground color to the entire content box and padding, the coloronly appears behind the text itself, as shown in Figure 6-17.

Figure 6-17

Figure 6-17. Navigator's incorrect behavior

Let me reiterate: this is totally wrong.