Wednesday 13th of December 2017 08:01:48 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
web browsers (see browsers)
web-safe colors: Web-safe colors
weight sorting: 2.8. The Cascade
greater-than symbol (>) and: Child selector
handling: Handling whitespace
ignored in style sheets: 2.2.2. Grouping Declarations
white-space property: Handling whitespace
widows property: 10.8.1. Paged Media
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: Limiting width and height
positioning and: 9.1.3. Width and Height
width property: 7.1. Basic Element Boxes Setting width and height
Windows VGA colors: 3.1.1. Named Colors
word spacing: 4.1.4. Word Spacing and Letterspacing
word-spacing property: Word spacing
alignment and: 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 By taking the lowest common denominator approach, by being web enabled, protocol independent, network independent, platform independent and extensible, XML makes it possible for new systems and old systems (that are all different) to communicate with each other. Encoding information in plain text with tags is better than using propietary and platform dependent binary formats.


XML provides solutions for problems that have existed for the past 20 years. With most applications and software services using the Internet as a target platform for deployment, XML could not have come at a better time. With the web becoming so popular, a new paradigm of computing has emerged for which XML supplies one of the most important pieces, platform, vendor and application neutral data. Regardless of the programming language used to process XML, it will enable this new networked computing world.

Java is also a key component of this new paradigm. On the server side, by working with XML, it can more naturally integrate legacy systems and services. With XML, Java can do what it does best, work very well on the server side, and web (and Internet) enable software systems.

| T | U | V | W | X | Y | Z

Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved.

BODY * UL {color: gray;}

Figure 10-3 shows the result of this declaration.

Figure 10-3

Figure 10-3. Making BODY's grandchildren (and their descendants) gray

On the other hand, perhaps you wish to make purple any element thatis a descendant of DIV. This would be written:

DIV * {color: purple;}

At first glance, this seems no different than if the* were left out, instead relying on inheritance tocarry the color to all descendants of Inheritance won't be enough in such a case.

7.7.2. List Item Images

Sometimes, of course, a pregenerated bullet just won't do. Instead, you feel the need to use an image for each bullet. In the past, the only way to achieve this sort of effect was to fake it. Now all you need is a list-style-image declaration. Bringing the colors together

Table 3-4 presents an overview of the colors we've discussed. Italicized color names are those that can be legally used as values of a color declaration. Those without italics might not be recognized by browsers and therefore should be defined with either RGB or hexadecimal values ( just to be safe). In addition, there are some shortened hexadecimal values that do not appear at all. In these cases, the longer (6-digit) values cannot be shortened, because they do not replicate. For example, the value #880 expands to #888800, not

INPUT[type="radio"] {color: #333333;}
INPUT[type="checkbox"] {color: #666666;}
<INPUT TYPE="radio" NAME="r2" VALUE="A ">
<INPUT TYPE="checkbox" NAME="c3" VALUE="one ">

This allows you to dispense with the classes altogether, at least in this instance. See the Chapter 10, "CSS2: A Look Ahead", for more details on how this kind of selector works.


Navigator 4 does not apply colors to form elements, but setting the background-color: #CCCCCC;}

Figure 6-35

Figure 6-35. Setting a wavy top border on H1 elements

Simply by choosing the appropriate image for the job, and employing it in some creative ways, you can set up some truly astonishing appearances. And that isn't the end of what's possible. Now that we know how to keep a background image from repeating, how about moving it around in the background?


Percentage values refer to a point on both the element and the origin