[thelist] Background images and margins
Pringle, Ron
RPringle at aurora-il.org
Mon Apr 24 13:02:21 CDT 2006
> I tried padding and the 1 pixel to the left disappeared as
> well. Do I
> need a div around the div to make this work?
>
> Norman
Norman-
My bad. The background image and colors will indeed show in the padding
area as well. Padding will only affect content in the div, not the
background of the div. I missed that you were using a background image
in the original post.
I think you will need a second div with the proper padding applied to it
surrounding the div with the background image.
Regards,
Ron
More information about the thelist
mailing list