Background images in CSS 2.1 cannot be modified, although CSS 3 supports a property background-sizethat it is not widely implemented.
background-size: 10px 10px;
An obvious alternative is to simply use a tag <img>:
<a href="#"><img src="mybg.png" alt="" style="width:10px; height:10px" /></a>
But you probably have a reason not to do this anyway, right?
Other alternatives may be
- Resize the item
<a>to the size of the image. - Resize the image locally and upload it under a different file name.
- , PHP ASP, .