use a sprite png in li-class and display in div
- by bonny
hello i have some problem with displaying a sprite in a div that is in a li-class.
so the structure is:
<li id="aa">
<div><a href="#">one</a></div>
</li>
and the css:
li{
width: 120px;
height: 18px;
margin-top: 5px;
}
li div{
width: 20px;
height: 10px;
…