Closed Bug 55944 Opened 25 years ago Closed 25 years ago

There are spaces between the different images

Categories

(Core :: Layout, defect, P3)

x86
Windows 95
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: gtallur, Assigned: clayton)

References

()

Details

On http://www.lessaisies.com first page, a big image is composed of many small ones. There are spaces between the different images. There shouldn't be any. It works well with Netscape 4.75.
The problem seems to be down to the <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> at the top. Remove it and the spaces disappear.
Actually, there should be the spaces. This is what the CSS spec says should happen, since the images are inline replaced elements (similar to text) and therefore are aligned on lines, and lines have a minimum height specified by the CSS line-height property. You can solve your problems using line-height:0, display:block, vertical-align:bottom, or various other tricks. If you want more info on this, e-mail me and I'll send you some URIs.
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.