Closed Bug 119339 Opened 23 years ago Closed 23 years ago

Images within table cells are improperly spaced and incorrectly stretch the table height.

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 22274

People

(Reporter: dbrown, Assigned: karnaze)

References

()

Details

Images that are placed within a table cell seem to add spacing to the bottom of 
the image.

This results in a table with an image in it getting stretched to an incorrect 
size. Placing a single 22px high image into a table cell causes the table 
height to increase beyond 22px.

I put together this example, which has been W3C validate for html 4.01 strict 
and css:

http://test.invisiband.net/ver2/table.html

The tables render correctly in Opera and IE.
Yes, it's valid HTML and CSS, but Mozilla is rendering it correctly. Read bug
22274 about why and how you can fix it.

Thanks

*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Yep, also see http://developer.netscape.com/evangelism/docs/articles/img-table/
for an article on how to fix this.

Verify dupe.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.