Friday 24th of October 2014 12:16:14 PM

Book Home

Cascading Style Sheets: The Definitive GuideSearch this book



[ thin | medium |thick | <length> ]{1,4}

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

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.

Figure 9-10.

Figure 9-10

Figure 9-10. Clipping content with overflow

Finally, there is overflow: auto. This allows user agents to determine what behavior to use, although they are encouraged to provide a scrolling mechanism when necessary. This is a potentially useful way to use overflow, since user agents could interpret it to mean "provide scrollbars only when needed." (They may not, but they certainly could, and probably should.)

clip can be applied to any element. Thus, youcould display only the top left corner of a paragraph using somethinglike this:

<P STYLE="clip: rect(0, 10em, 10em, 0);">

This will display a square 10 ems wide by 10 ems high. This square isdrawn from the top left outer corner, so any margins, borders, andpadding will influence how much of the element is visible and howmuch is clipped out.

which illustrates the differences very clearly.

Figure 5-24

Figure 5-24. Italic and oblique text in detail

Basically, italic text is in some way its own font, with smallchanges made to the structure of each letter to account for thealtered appearance. This is especially true of serif fonts, where inaddition to the fact that the text characters "lean," theserifs may be altered in an italic face. Oblique text, on the otherhand, is simply a slanted version of the normal, upright text. Fontfaces with labels like Italic,