Closed
Bug 22665
Opened 25 years ago
Closed 25 years ago
Incorrect widths on table-cells.
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
M15
People
(Reporter: per, Assigned: karnaze)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
Mozilla doesn't really respect the widths I set on my tablecells. I'm using CSS
like
TD.foo
{width: 228}
I'm always trying to use css as much as I can, but I've
also tested w/o css like
<td width="228">, but it makes no difference.
The
thing is, that i specify the table to 100% width, but my three cells are usually
not that many pixels wide (they're 528 in total) and then Mozilla stretches out
my first cell, so that the cells in total fit the whole table.
This problem
occurs partially in IE5 also, but then i could workaround it by placing an extra
cell, at the rightmost hand of all the others (the last cell, that is) with it's
width set to auto. Then all the extra width that "is over" goes to this cell.
However, Mozilla only gives a few pixels to this cell, and stretches out my
first cell anyway.
I could also workaround it by setting the entire table width
to 528, but this doesn't work perfectly neither, as the total width of all the
cells is a little bit larger than the sum of the individual cells. At least it
looks like that, because then, one of the cells becomes to small. Probably this
is due to a few extra pixels between the cells, although I've set the
cellpadding to 0. And, if I want to change the width of one the cells, I have
change the width of table too.
If you want to see the table structure a little
better, you might want to try <a
href="home.swipnet.se/uvkba/index_debug.html>index_debug.html</a> instead of
index.html, as the former has colored borders around the cells.
Note: All the
content of the page is in Swedish, but I hope that shouldn't really matter.
And, I'm using M12, but Bugzilla gave me no other choice than other.
Comment 1•25 years ago
|
||
Updated•25 years ago
|
Whiteboard: [TESTCASE]
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M15
Comment 2•25 years ago
|
||
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Updated•25 years ago
|
Whiteboard: [TESTCASE]
Comment 3•25 years ago
|
||
*** This bug has been marked as a duplicate of 19961 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•