Closed
Bug 263859
Opened 20 years ago
Closed 20 years ago
Cell widths wrong when colspan used
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 187550
People
(Reporter: spam_from_bugzilla, Unassigned)
Details
Attachments
(5 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040719 Firefox/0.9.1 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040719 Firefox/0.9.1 I have a table with 2 rows and 3 columns. In the first row the middle column is colspanned with the left column and in the second row the middle column is colspanned with the right column, like this: +--------------------+ | | | |--+--------------+--| | | | +--------------------+ I have declared the left and right columns to be 10% wide. But Mozilla displays it with a zero-width middle column: +--------------------+ | | | |----------+---------| | | | +--------------------+ Here is the code: <table> <tr> <td colspan="2">90% jg ghe uighgu erhg eugh eriugher uiehg eghergu hegui ehguegherug ehrguehg eur hgeru eru giehge</td> <td style="width: 10%">10%</td> </tr> <tr> <td style="width: 10%">10%</td> <td colspan="2">90% g jgerj gergjer oigehrgerhg ergh eguerh gerog hergo hergou ehgeo ugheoig uehrg oerhgerghe ohger</td> </tr> </table> If I add "width: 90%" to the colspan="2" cells I get a layout closer to what I consider correct, with the end columns about 25% and the middle column about 50%. Internet explorer displays it as I expected, and Konqueror is close. I will attach example code and some screenshots. (I bet this is a dupe, but a search didn't find anything - sorry.) Reproducible: Always Steps to Reproduce: 1. 2. 3.
Reporter | ||
Comment 1•20 years ago
|
||
Reporter | ||
Comment 2•20 years ago
|
||
Reporter | ||
Comment 3•20 years ago
|
||
Reporter | ||
Comment 4•20 years ago
|
||
the testcse shows that if for every column a td exists the width information is honoured.
*** This bug has been marked as a duplicate of 187550 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 7•20 years ago
|
||
Thanks Bernd, I was sure this would be a dupe but couldn't find one. I was always searching for something including "width". Maybe that word could go in the summary for 187550? Cheers, --Phil
You need to log in
before you can comment on or make changes to this bug.
Description
•