Book HomeCascading Style Sheets: The Definitive GuideSearch this book Tuesday 01st of September 2015 08:06:56 PM

9.6. Summary

When it comes right down to it, positioning is a very compelling technology. It's also likely to be an exercise in frustration if you're trying to get it to behave consistently in a cross-browser environment. The problem isn't so much that it won't work in some browsers: it's that it will only sort of work in a number of them, such as Navigator 4 and Internet Explorer 4 and 5. It can be great fun to play with positioning, and if the user agent doesn't have a predefined rule such asOL {list-style-type:decimal;}, it may prohibit ordered bullets frombeing applied to unordered lists, and vice versa. You can'tcount on this, of course, so be careful.

If you wish to suppress the display of bullets altogether, thennone is the value you seek.none will cause the user agent to refrain fromputting anything where the bullet would ordinarily be, although it one day we'll be able to use it in place of tables and frames while dramatically improving accessibility and backward compatibility. As of this writing, though, it remains a great way to create design prototypes, but a tricky thing to use on a public web site.

As it happens, this sentiment may be applied to the majority of CSS2, which is given an overview in the next chapter.

Library Navigation Links

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

literally any order.


BODY {background-color: white; background-image: url(yinyang.gif);background-position: top left; background-repeat: repeat-y;background-attachment: fixed;}BODY {background: white url(yinyang.gif) top left repeat-y fixed;}BODY {background: fixed url(yinyang.gif) white top left repeat-y;}BODY {background: url(yinyang.gif) white repeat-y fixed top left;}