Closed
Bug 126219
Opened 24 years ago
Closed 24 years ago
Table height ignored if it is smaller than one line
Categories
(Core :: Layout: Tables, defect)
Tracking
()
People
(Reporter: scheffler, Assigned: karnaze)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
BuildID: 2002020406
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"
bgcolor="#383C68">
<tr>
<td height="1"><img src="/images/1x1.gif" width="1" height="1"></td>
</tr>
</table>
This table is more than one pixel high
Reproducible: Always
Steps to Reproduce:
1.just load the page
2.
3.
Actual Results: table is about 10 pixels high
Expected Results: print a line with one pixel height
Comment 1•24 years ago
|
||
The image is an inline element, so Mozilla always gives it the minimum line
height (not a bug, although not everyone interprets the standard the same way).
A style rule like td > img {display : block} will give the desired result.
See also http://developer.netscape.com/evangelism/docs/articles/img-table/
Comment 2•24 years ago
|
||
Reporter, this behavior is mentioned on the Bugzilla helper page in the third
paragraph. This is a duplicate of bug 22274.
*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•