Hey
Im currently coding a layout and when Im using padding-bottom/padding-left it repeats the image instead of actually making space?
How can I stop/fix this?
Cheers! Help appreciated!

Hey
Im currently coding a layout and when Im using padding-bottom/padding-left it repeats the image instead of actually making space?
How can I stop/fix this?
Cheers! Help appreciated!
try margin instead. Padding just affects content within a div.. I think.
Chippiewill.
You could also fix this with the CSS background repeat property... assuming you're talking about the background.
http://www.w3schools.com/cssref/pr_b...und-repeat.asp
I think you can correct it by modifying the Width in terms of the padding. So if you have 5px padding your subtract 5px of the width of the image.
Want to hide these adverts? Register an account for free!