Sunday 25th of February 2018 10:07:04 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: Y

There are no index entries for this letter.


Symbols | A | B | C I elements. In practice, not every font is sosophisticated as to have both an italic face and an oblique face, andeven fewer web browsers are sophisticated enough to tell thedifference when both faces do exist.

Figure 5-26

Figure 5-26. More font styles

If either of these is the case, a few things can happen. If there isno Italic face, but there is an Oblique face, then the latter can beused for the former. If the situation is reversed -- an Italicface exists, but there is no defined Oblique face -- the user | 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.

a document type such as HTML can be dangerous, since HTML already has a display hierarchy defined. However, in the case of XML, which has no such hierarchy, display is indispensable.

In CSS2, the range of values for display is dramatically expanded. See Chapter 10, "CSS2: A Look Ahead", for more details.

Example

.hide {display: none;}

Values

block | inline | didn't collapse margins, resulting in 25-pixel spaces betweenlist items.

Another word to use, if you don't like "collapse,"is"overlap." Although the margins are notreally overlapping, you can visualize what's happening usingthe following analogy. Imagine that each element, such as aparagraph, is a small piece of paper with the content of the elementwritten on it. Around each piece of paper is some amount of clear

Navigator 4 manages to avoid this error by not honoring background positioning at all, which means that the origin image always appears in the top left corner of an element under Navigator 4. Of the browsers that correctly position background images, only four managed correct repeating, as of this writing: Opera 3.6 for Windows, Internet Explorer 4.5 and 5 for Macintosh, and Internet Explorer 5 for Windows.