background_h.aspx font size:
<html>
<head>
<title>Abakada CSS Demo: background Attribute</title>
<link rel="stylesheet" href="/shared/netdemos.css">

<style type="text/css">
<!--
   .style1 {
      background: darkolivegreen url( "../shared/images/earth.gif" )
      no-repeat top right }
   .style2 {
      background: slategray url( "../shared/images/jupiter.gif" )
      no-repeat bottom left }
   #msg { width: 70%; color: beige; padding: 15mm }
-->
</style>
</head>

<body>
<div class="header"><h2>Abakada CSS Demo: <b>background</b> Attribute</h2></div>
<hr size=1 width=92%>

<center>

<h4>This example uses calls to an <i>embedded stylesheet</i> to dynamically set an element's background<br>
using the composite <b>background</b> style attribute.</h4>

<p id="msg" class="style1"
   onmouseover="this.className='style2'"
   onmouseout="this.className='style1'">
      Move the mouse over to apply a style class that changes this element's background color, image and position.<br>
      Move the mouse out to reset. 
</p>

</center>

<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->

</body>
</html>