Book HomeCascading Style Sheets: The Definitive GuideSearch this book Sunday 04th of December 2016 04:50:53 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:

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:

drawback: a very few early versions of Navigator 4.x could crash whentrying to process an @import statement. This wasquickly fixed, and very few of these versions are still in use.

11.2.3. Fighting Margin Problems with @import

If you want to use margin rules which you knowwon't work in Navigator, use the previous trick and thecascade to your advantage. Let's say you want a document where

Library Navigation Links

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

UL {margin-bottom: 10px;}LI {margin-top: 10px; margin-bottom: 20px;}H1 {margin-top: 28px;}

Therefore, the last item in the list has a bottom margin of 20pixels, the bottom margin of the UL is 10 pixels,and the top margin of a succeeding H1 is 28pixels. Given all this, once the margins have been collapsed (or, ifyou prefer, overlapped), the distance between the end of theLI and the beginning of the H1is 28 pixels, as shown in Figure 7-17. be blue (although we can't show that in print). This is due tothe fact that the image is contained with a hyperlink, and theforeground color of hyperlinks is usually blue. Ifwe so desired, we could change that color to besilver, like this:

A:link IMG {border-style: outset; color: silver;}

As Figure 7-32 shows, the border is now based on thelight gray silver, since that's now theforeground color of the image -- even though the image