| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jun 2004
Posts: 10
|
help with image spacing in css
Hello, I am having a problem with a space above and below vertically stacked images in Mozilla: Code:
I have also tried it like this, with the addition of BR's: Code:
Note that I have no line breaks in between the tags. It looks fine in IE 6 but not mozilla... there's no padding or anything set for images. Any ideas? Thanks |
|
|
|
|
|
#4 (permalink) |
|
I Ain't Losing Any Sleep™
Join Date: Apr 2003
Posts: 5,205
|
It may be because images are inline as default and sit on the bassline. They have a gap underneath them where the descenders (if needed) would go. .centerer img { display: block; } or .centerer img { vertical-align:bottom; } should fix it. |
|
![]() |