Closed
Bug 203815
Opened 22 years ago
Closed 22 years ago
white gap below image if I use xhtml 1.0 strict to display a table containing an image in td element
Categories
(Core :: Layout: Tables, defect)
Tracking
()
People
(Reporter: mail, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312
If I use the following doctype (xhtml 1.0 strict) to display a table containing
an image in a cell, the browser will display a small horizontal gap at the
bottom of all cells in that row.
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
DEMO : http://joker.codehack.de/bug-strict.html
If I use xhtml 1.0 transitional as doctype, the browser wont display the white
gap and the whole table looks alright.
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
DEMO : http://joker.codehack.de/bug-trans.html
Reproducible: Always
Steps to Reproduce:
1. Start Mozilla ("Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3)
Gecko/20030312") to render http://joker.codehack.de/bug-strict.html
Actual Results:
I can see two white gaps below each black box.
Expected Results:
Mozilla should display the table without the white gaps as in
http://joker.codehack.de/bug-trans.html
Comment 1•22 years ago
|
||
read http://devedge.netscape.com/viewsource/2002/img-table/ to understand why it
is rendered like that.
Comment 2•22 years ago
|
||
*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•