<html>
<head>
<title>Abakada CSS Demo: background Attribute</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style type="text/css">
<!--
#msg { color: beige; padding: 15mm }
-->
</style>
</head>
<body>
<!-- #include virtual="~/shared/top.inc" -->
<div class="header"><h2>Abakada CSS Demo: <span class="hilite">background</span> Attribute</h2></div>
<hr size=1 width=92%>
<center>
<h5>This example uses inline event handlers to dynamically set an object's background using the composite <b>background</b> style attribute.</h5>
<p id="msg" style="background: #433 url( ../shared/images/jupiter.gif ) no-repeat top left"
onmouseover="this.style.background='334 url( ../shared/images/neptune.gif ) no-repeat bottom right'"
onmouseout="this.style.background='433 url( ../shared/images/jupiter.gif ) no-repeat top left'">
Move the mouse anywhere on this object to change the background color, image and position.
Move the mouse out to reset.
</p>
<img src="../shared/images/jupiter.gif" width=1 height=1 style="visibility: hidden">
<img src="../shared/images/neptune.gif" width=1 height=1 style="visibility: hidden">
</center>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>