Friday 22nd of August 2014 01:45:00 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: X

x-height: 3.2.2.1. em and ex units
XML (Extensible Markup Language): 1.2.6. Preparing for the Future
display property and: 2.9.1. Why Does the display Property Exist?
selectors in: 2.1.2. Simple Selectors


Symbols | A | B | C | D | E | F | G

It's actually better to pick classnames that are descriptive of the type of information containedwithin, not of the visual effect you're trying to achieve atthe moment. For example, let's say that we want the dark bluecolor to be applied to all H2 elements that aresubsection headings. It would be much better to pick a class namelike subsec or evensub-section. Both of these names have theadvantage of actually meaning something -- and, furthermore, ofbeing independent of any presentational concepts. After all, you | 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.

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 useragent may not substitute the former for the latter, according to theCSS specification. Finally, the user agent can simply generate theoblique face by computing a slanted version of the upright font. Infact, this is what most often happens in a digital world, whereit's fairly easy to slant a font using a simple computation.