HTML and CSS Reference
In-Depth Information
ground behind <li> tags that use the class=marble attribute. For ex-
ample, this XHTML snippet:
<h2>Here's what's for dinner tonight:</h2>
<ul>
<li class="marble">Liver with Onions</li>
<li class="marble">Mashed Potatoes and Gravy</li>
<li class="marble">Green Beans</li>
<li class="marble">Choice of Milk, Tea, or Coffee</li>
</ul>
<h2>And for dessert:</h2>
<ul>
<li>Creamed Quats in Milk (YUM! YUM!)</li>
</ul>
produces a result like that in Figure 8-6 .
Figure 8-6. Placing a background image behind an
element
Search WWH ::




Custom Search