Closed Bug 97801 Opened 23 years ago Closed 23 years ago

(see 22274) 3 pixel gap under images (inline) (standard mode)

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 22274

People

(Reporter: edoardopa, Assigned: karnaze)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.3) Gecko/20010801 BuildID: 0.9.3 This is a segnalation of a particular comportament of mozilla 0.9.3 This HTML code (box.gif is a simple square bitmap) --------------------------------------------------- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> <html> <head> <title>Try</title> </head> <body> <img src="box.gif"><img src="box.gif"><img src="box.gif"><img src="box.gif"><img src="box.gif"> </body> </html> -------------------------------------------------- If the navigator window is enough small (the images are on 2 lines) there are 3 pixel between the first row of images and the second. Not the same happens with Netscape, iCab and IE. Reproducible: Always Steps to Reproduce: 1.Copy source html from description Expected Results: Do not insert the 3 pixels (I think) I see the render information on the css2 specification but I didn't find a justify for this
That's surprising but normal. There is a line-height between the lines, if you don't want it just enclose your images in <div style="line-height:0">...</div>
Dupe of invalid bug 22274. You can use the style img { vertical-align: bottom } or a doctype triggering quirks mode, e.g. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> *** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
also see http://developer.netscape.com/evangelism/docs/articles/img-table/ for an article on this issue. Verify dupe.
Status: RESOLVED → VERIFIED
Summary: 3 pixel under images. → (see 22274) 3 pixel gap under images (inline) (standard mode)
You need to log in before you can comment on or make changes to this bug.