<DIV class=boxnav><a href="prod_sub.asp?id=<%=RSevent("CategoryID") %>">
<DIV id=iconidio_big style="background-image: url(../media/boxnav/<%=RSevent("icon_file") %>);"><IMG src="../media/boxnav/<%=RSevent("icon_file") %>" border=0></DIV>
<DIV><%=RSevent("name") %></DIV><div id=learn>learn more...</div></a></DIV>
/*---css boxes-----*/
div.boxnav {
z-index:1;
margin: 0pt;
font: 11px Tahoma, Arial, sans-serif;
white-space: nowrap;
height: 140px;
width: 18em;
float:left;
position:relative;
display:block;
border-right: #ccc 1px solid;
border-bottom: #ccc 1px solid;
}
div.boxnav div {
margin-left: 8px;
float:left;
width: 16em;
}
div.boxnav a {
text-decoration: none;
color: #999;
font-weight: bold;
display: block;
width: 100%;
height: 100%;
position:absolute;
cursor: hand;
}
div.boxnav a:hover { background-color: #f4f4f4; color: #000066;}
div.boxnav #iconidio {
margin-top: 50px;
width: 16em;
height: 50px;
background-position: left -50;
background-repeat: no-repeat;
cursor: hand;
}
div.boxnav #iconidio_big {
margin-top: 20px;
width: 16em;
height: 80px;
background-position: left -80;
background-repeat: no-repeat;
cursor: hand;
}
div.boxnav a:hover #iconidio, div.boxnav a:hover #iconidio_big {background-position: left 0;}
div.boxnav #iconidio img, div.boxnav #iconidio_big img {display: none;}
div.boxnav #learn {
padding-left: 10px;
font: 10px Tahoma, Arial, sans-serif;
color: #FF9900;
text-decoration: none;
background-image: url(imgs/boxarrow.gif);
background-repeat: no-repeat;
background-position: 0 5;
}
div.boxnav a:hover #learn {color: red;}
/*---end css boxes-----*/
Bookmarks