Tue Feb 28, 2012 12:17 am
<html>
<head>
<title>Change the border style on mouse over.</title>
<style>
div.DivOne {
border:5px solid #cccccc;
border-style:dashed;
color:#FF99FF;
font-weight:bold;
background-color:#989898;
width:230px;
height:100;
}
div.DivTwo {
border:"none";
color:#FF99FF;
font-weight:bold;
background-color:#546445;
width:230px;
height:100;
}
</style>
</head>
<body>
Change the border style on mouse over.
<div class="DivTwo"
onmouseover="this.className='DivOne'"
onmouseout="this.className='DivTwo'">
Your div text here
</div>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.