Sunday 18th of March 2018 02:56:02 AM

Book Home

Cascading Style Sheets: The Definitive GuideSearch this book


Figure 8-18

Figure 8-18. Offset is implicit in the parent's margins and padding Negative margins

So far, this probably all seems ratherstraightforward, and you may be wondering why I said things could becomplicated. As it turns out, the complication is that margins canhave negative values.

You'll remember that I said the second-simplest rule of

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

Library Navigation Links

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

Reproducing Colors

Consistent color reproduction is, as it happens, a major issue unto itself. As we'll soon see, all colors can be specified in a consistent manner, which would seem to solve the issue of whether two different user agents will display the same color. In fact, the situation is much more complicated. In the first place, human perception is relative. The same color displayed on the same monitor may appear to

Figure 7-50

Figure 7-50. Using the cascade to one's advantage