<html>
<head>
<title>Abakada CSS Demo: marginTop Property</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<style type="text/css">
<!--
img { cursor: hand }
-->
</style>
</head>
<body>
<!-- #include virtual="~/shared/top.inc" -->
<div class="header"><h2>Abakada CSS Demo: marginTop Property</h2></div>
<hr size=1 width=92%>
<center>
<h5>This example uses inline event handlers to dynamically change an object's top margin.</h5>
<p id="msg">Click on the image to expand its top margin. Double-click to reset. </p>
<img src="../shared/images/samp13.jpg"
width=125 height=125
onclick="this.style.marginTop='2cm'"
ondblclick="this.style.marginTop=''"">
</center>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>