Just like with the font properties,the background properties can all be brought together in a singleshorthand property: background. This property cantake a single value from each of the other background properties, inliterally any order.
background
BODY {background-color: white; background-image: url(yinyang.gif);background-position: top left; background-repeat: repeat-y;mobile phone games download Saturday 22nd of November 2008 06:37:03 AMordered 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 asOL {list-style-type: STYLE tags but the declarations as well, becauseHTMLcomments are not displayed. Meanwhile, those browsers that understandCSS will still be able to read the style sheet.Nice and Free CSS Templates
WARNING
There is one drawback to this strategy. A few versions of olderbrowsers, such as very early versions of Netscape Navigator and NCSAMosaic, had some trouble with comments. The problems ranged from all of its children will have the decoration applied visually, if notin fact.
Combined with vertical-align, evenstranger things will happen. Figure 4-60 shows butone of these oddities. Since the SUP element hasno decoration of its own, but it is elevated within an overlinedelement, the overline cuts through the middle of theSUP element:
line, so we'll have to counteract it somehow. This leads us tothe following:.initial {text-indent: 0;}P.initial:first-letter {font-size: 200%; float: left;}These rules will, obviously, require us to add the attributeclass="initial" to the first paragraph tag. Thedeclaration of text-indent: 0;overrides previously declared values, aslong as this block of declarations comes later in the style sheet. improve them over time without being hindered by anything in the CSSspecification.
Since there is no hyphenation in CSS, user agents are unlikely to beable to perform any automatic hyphenation. Thus, justified text willvery likely be less attractive under CSS than it might be in print,especially when elements become so narrow that only a few words canfit on each line, as shown in Figure 4-18. You canstill justify text, of course, but be aware of the