Wednesday 30th of July 2014 09:12:52 PM

Book Home

Cascading Style Sheets: The Definitive GuideSearch this book

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

Index: Z

z-axis: 9.5. Stacking Positioned Elements
z-index property: 9.5. Stacking Positioned Elements
this is an indirect result of how the extra space is apportioned.

Now let's look at a slightly more complex case. Take the following example:

BODY {font-size: 10pt;}
P {font-size: 18pt; line-height: 23pt;}
BIG {font-size: 250%;}
<P>This paragraph's 'font-size' is 18pt, and the 'line-height' for this
paragraph is 23pt. However, a <BIG>larger element</BIG> within the


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.

background extends to the outside edge of the border, since it talksabout the borders being drawn "on top of the background of theelement," but not all browsers seem to agree. This is importantbecause some borders are "intermittent" -- forexample, dotted and dashed styles -- and the element'sbackground should appear in the spaces between the visible portionsof the border.

Every border has three aspects: its width, or thickness; its style,or appearance; and its color. The default value for the width of a a third of an inch along its top, then when they slide together, thefirst piece's plastic will touch the top edge of the secondpiece of paper. The two are now done being placed on the canvas, andthe plastic attached to the pieces is overlapping.

This is also occurs where multiple margins meet, such as at the endof a list. Adding to the earlier example, let us assume the followingrules:

UL {margin-bottom: 10px;}