I like to get coloured boxes which are rounded when I hover.
Please find the following script as sample:
<div id="myboxes">
<div class="item1">
<a href="">
<img width="280" height="280" alt="" src="images/myitem1.jpg">
</a>
</div>
</div>
and CSS CLASS:
#myboxes .item1 {
border-radius: 10px 10px 10px 10px;
float: left;
width: 280px;
height: 280px
}
#myboxes .item1.hover {
background: none repeat scroll 0 0 #000000;
cursor: pointer;
}
#myboxes .item1.hover a {
text-decoration: none;
}
Why is hover not working? Need help.