Friday 20th of April 2018 04:44:40 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: W

warning text
boldface, setting: 2.3. Class and ID Selectors
color, setting: 6.1.1. Foreground Colors
W3C (World Wide Web Consortium): 1.2. CSS to the Rescue
its ancestor elements will be visible. Imagine for a moment that the default value were something else, such as silver. Then you would always see something along the lines of Figure 6-16. This could be quite a problem, if that's how browsers behaved! Fortunately, they don't.

Figure 6-16

Figure 6-16. Nontransparent backgrounds

Most of the time, you'll have no reason to use the keyword transparent. On occasion, though, it can be useful. Although it's the default value, users might set their browsers to make all links have a white background. When you design

web browsers (see browsers)
web-safe colors: 3.1.2.6. Web-safe colors
weight sorting: 2.8. The Cascade
whitespace
greater-than symbol (>) and: 10.2.1.2. Child selector
handling: 4.1.1.3. Handling whitespace
ignored in style sheets: 2.2.2. Grouping Declarations
white-space property: 4.1.1.3. Handling whitespace
widows property: 10.8.1. Paged Media
width
block-level elements: 8.2.2. Horizontal Formatting
borders: 7.4.2. Border Widths
elements: 7.1. Basic Element Boxes
floating text, declaring for: 7.6.1. Floated Elements
limiting via min-max properties: 9.1.3.2. Limiting width and height
positioning and: 9.1.3. Width and Height
width property: 7.1. Basic Element Boxes
9.1.3.1. Setting width and height
Windows VGA colors: 3.1.1. Named Colors
word spacing: 4.1.4. Word Spacing and Letterspacing
word-spacing property: 4.1.4.1. Word spacing
alignment and: 4.1.4.3. Spacing, alignment, and font size
World Wide Web Consortium (W3C): 1.2. CSS to the Rescue


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.

will be, there is no way to make a clipping rectangle that ends 1 emto the right, or 1 em below, the content area of the element.

Further compounding the problem is that rect(...)only accepts length units and auto. The additionof percentage units as valid rect(...) valueswould go a long way toward improving things, and hopefully a futureversion of CSS will add this capability.

This property can be used to clip the element with a simple