Closed Bug 189114 Opened 22 years ago Closed 22 years ago

1-pixel-wide table column specified, actual column renders much wider.

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mhoye, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20030113 Phoenix/0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20030113 Phoenix/0.5


Table row is specified to be one pixel wide, and is rendered as much wider than
that. ten pixels wide or so. 

See bug #150403 for a similar bug.

Problem occurs in .4, .5 and most recent nightly version of Phoenix.

Reproducible: Always

Steps to Reproduce:
1.Declare an appropriate table with a distinct middle-row color
2.Load it up.
3.

Actual Results:  

The text of the table rendered correctly - only the empty middle row did not
render properly.

Expected Results:  

Expected a single one-pixel wide strip down the middle of my page.
Invalid.  Width sets the width of the content area.  You still have 5 pixels of
padding along all four sides, making the line 11 pixels thick.  If you set
cellpadding="0" in the table, you'll get a one pixel line.
BTW, this design could be done much better and simpler by replacing the table
with two divs, putting a border-left on the div on the right.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.