Book Home Saturday 23rd of August 2014 01:26:07 PM Cascading Style Sheets: The Definitive GuideSearch this book

Full Text Search

If you are having difficulty searching, or if you have not used this search in which the inline element appears, but user agents are not requiredto support this behavior. There is also no defined behavior to saywhether the foreground content of a previous line appears above thebackground of a succeeding line, or is overwritten by thatbackground. Negative values are not permitted.

Example

padding-bottomIE4 P/P IE5 P/Y NN4 B/B Op3 Y/-

This property sets the size of thebottom padding of an element, and this padding will"inherit" the element's background. Negative values utility before, please read this.


Library Navigation Links

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

course, but CSS doesn't distinguish betweenordered andunorderedlist items. Thus, you might be able to set an ordered list to usediscs instead of numbers. In fact, the default value oflist-style-type is disc, so youmight theorize that without explicit declarations to the contrary,all lists (ordered or unordered) will use discs as the bullet foreach item. In fact, that's up to the user agent to decide. Evenif the user agent doesn't have a predefined rule such asimage to be repeated in the horizontal or vertical directions,respectively, and no-repeat prevents the imagefrom tiling in any direction.

By default, the background image will start from the top left cornerof an element. (We'll see how to change this later in thechapter.) Therefore, the following rules will have the effect seen inFigure 6-28:

BODY {background-image: url(yinyang.gif);