/ Published in: CSS
You may align background image not only to left or top corner, but also use an offset for alignment.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<style type="text/css"> #sidebar ul li li a { background-image:url(../images/side-li-rtl.png); background-position:right 15px top 9px; } </style>
URL: http://www.apphp.com/index.php?snippet=css-align-backgroud-image-with-offset