Book HomeCascading Style Sheets: The Definitive GuideSearch this book Friday 31st of October 2014 02:15:31 PM

Copyright © 2000 O'Reilly & Associates, Inc. All rights reserved.

Printed in the United States of America.

Published by O'Reilly & Associates, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472.

through F are actually just symbols -- theycould have been anything. Someone just decided that letters would beeasier to remember than invented symbols... plus nobody would have toinvent new names for letters.

How this corresponds to our regular decimal (base 10) numbering isfairly straightforward. 05 is equal to 5,0C is equal to 12, 0F is thesame as 15, and 10 is equal to 16. No, really.1F is equal to 31, 20 to 32,

Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly & Associates, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O'Reilly & Associates, Inc. was aware of a trademark claim, the designations have been printed in caps or initial caps. The association between the image of a koala and the topic of HTML and XHTML is a trademark of O'Reilly & Associates, Inc.

While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.



Library Navigation Links

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

Inherited

no

Applies to

all elements

Navigator 4. In situations where font-weight: normal has been set on an element, this value will be inherited by all the descendants of the element. That's as it should be, of course, but Navigator takes it one step too far. Given the following:

<P STYLE="font-weight: normal;">This is a paragraph which contains a
<B>boldface element</B>, but Navigator 4 won't make the text bold.</P>

That's right: all of the text in the example paragraph will have a normal font weight. For some reason, Navigator 4 doesn't

DIV {position: relative;}P.A {position: absolute; top: 0; right: 0; width: 15em; height: auto;margin-left: auto;}P.B {position: absolute; bottom: 0; left: 0; width: 10em; height: 50%;margin-top: auto;}

This is an important point to always keep in mind: only positionedelements establish containing blocks for their descendant elements. Iknow this has come up before, but it's so fundamental that itneeds to be repeated.