PDA

View Full Version : BACKGROUND-IMAGE Padding



Uzair
Nov 23rd, 2006, 07:13 AM
Can we give padding to the background image?
Like if I'm using a bullet image as a cell background & I placed that to "Center Right". Now the bullet will move to the right wall of the cell. How can I give a little padding between the bullet image & the cell wall???

_Aerospace_Eng_
Nov 23rd, 2006, 07:26 AM
You can use background-position with x and y values.
http://www.w3schools.com/css/pr_background-position.asp