Closed Bug 314090 Opened 19 years ago Closed 19 years ago

unwanted 5px spacer in simple table with HTML strict

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 22274

People

(Reporter: bjoern.winkler, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b5) Gecko/20051006 Firefox/1.4.1 On http://www.spacetrack.de/browser-test.html you will see a table with two cells, a red one and a green one. The red one shows an image of height="38", so with all cellspacing/cellpadding/margins/paddings set to zero, the cell's height should be 38px. You can see, it's height is 43px! If you remove the line 1 and line 2 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> the page looks the way i think it should look like -- see http://www.spacetrack.de/table-test-ok.html http://www.spacetrack.de/table-test-failed.gif Kind Regards, - Björn Reproducible: Always Steps to Reproduce: see html code Actual Results: shows cell of 24x43 Expected Results: show cell of 24x38 standard ff 1.5 beta 2 with web developer 0.9.4
Attached image screenshot
Reporter, see bug 22274 and mark this as a duplicate. Add something like td img { display:block } to your stylesheet
ooops, sorry, haven't seen this but. And thanks for telling about "display:block" -- this helps! :-) Kind Regards, - Björn *** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: