Closed
Bug 4308
Opened 26 years ago
Closed 26 years ago
Empty cells too wide/tall
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: michael, Assigned: karnaze)
References
()
Details
A table has no cellspacing, no border, and a cellpadding of x. It has three
cells (on the same row or column, it doesn't matter). The left and right cells
have a certain background color and the middle empty cell (<TD></TD>) doesn't
(so I can see the space between the cells). I found that the space between the
left and right cells is 2x + 4. If the cellpadding is 5, the space between the
cells will be 14; if 7, then 18, etc. Of course, it doesn't have to be three
cells, that was just the small example. The above URL is a large scale example:
Empty cells are 12 pixels tall/wide, cellpadding is 4.
Reporter | ||
Updated•26 years ago
|
Hardware: Other → PC
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•26 years ago
|
||
I recently fixed a similar bug that should remove the extra space reported here.
I did notice that Nav4.5 and IE5 handle things slightly differently in some
cases. I also added a compatibility mode check, so if you don't get the expected
behavior try setting the compatibility mode to Standard rather than NavQuirks.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 2•25 years ago
|
||
Created a small doc to test:
<html>
<head>
<title>4308</title>
<style="text/css">
.one { background-color: lime }
.two { background-color: red }
</style>
<body>
<table cellspacing=0 border=0 cellpadding=20>
<td class="one"></td>
<td></td>
<td class="two"></td>
</table>
</body>
</html>
Using 5/20 build, verified bug fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•