I'm running into a problem with the css. I have a series of divs and I need to place an little icon on the right of each div. If I put the icon in the background then when hover it will be overrded by the color #e8f9f9. I want the little icon to be on the right at all times.
here is the css:
#subnavProdList{
width: 184px;
}
#subnavProdList a{
font: normal 11px Arial;
display: block;
width: 100%;
color: #666666;
text-decoration: none;
border-bottom: 1px solid #cccccc;
text-indent: 5px;
padding-top: 5px;
padding-bottom: 5px;
}
#subnavProdList a:hover{
background-color: #e8f9f9;
color: #000000;
}
here is the div:
<td><div id="subnavProdList"><a href="fabrics.php?coll=Suncloth&fam=Summerhouse">Summerhouse<img src="../products/images/miniswatch/summerhouse.png" border="0" /></a></div></td>
</tr>
<tr>
<td><div id="subnavProdList"><a href="fabrics.php?coll=Suncloth&fam=Southern Cross">Southern Cross<img src="../products/images/miniswatch/summerhouse.png" border="0" /></a></div></td>
css.gif 16.49K
345 downloads






