Book HomeCascading Style Sheets: The Definitive GuideSearch this book Thursday 23rd of October 2014 07:09:28 AM

0.3. How to Contact Us

We have tested and verified the information in this book to the best of our ability, but you may find that features have changed (or even that we have made mistakes!). Please let us know about any errors you find, as well as your suggestions for future editions, by writing to:

O'Reilly & Associates, Inc.

1005 Gravenstein Highway North

Sebastopol, CA 95472

(800) 998-9938 (in the U.S. or Canada)

(707) 829-0515 (international/local)

(707) 829-0104 (fax)

You can also send us messages electronically. To be put on the mailing list or request a catalog, send email to:

To ask technical questions or comment on the book, send email to:

Figure 6-46

Figure 6-46. Another set of negative lengths

Negative percentages are also possible in theory, although there aretwo issues involved. The first is the limitations of user agents,which may not recognize negative values forbackground-position. The other is that negativepercentages are somewhat interesting to calculate. Figure 6-47 shows why.

Figure 6-47

Figure 6-47. Aligning negative percentage points: two scenarios

This isn't to say that you shouldn't use negative values,of course, just that there are issues to consider. As always.

We have a web site for the book, where we'll list examples, errata, and any plans for future editions. You can access this page at:

For more information about this book and others, see the O'Reilly web site:

Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.

Compared to the other aspects of borders, setting the color is pretty easy. In CSS1, there is the single property border-color, which can accept up to four color values at one time.

If there are less than four values, value replication takes effect. So if you want H1 elements to have colorIE4 Y/Y IE5 Y/Y NN4 Y/Y Op3 Y/-

Sets the foreground color of a given element. For text, this sets the text color. The value of color is inherited by any borders of an element, unless they have had a color set border-color.


STRONG {color: rgb(255,128,128);}