Posted By

apphp-snippets on 05/30/17


css image backgrounf

Versions (?)

Align Backgroud Image with Offset in CSS

 / Published in: CSS


You may align background image not only to left or top corner, but also use an offset for alignment.

  1. <style type="text/css">
  2. #sidebar ul li li a {
  3. background-image:url(../images/side-li-rtl.png); background-position:right 15px top 9px;
  4. }
  5. </style>

Report this snippet  

You need to login to post a comment.