Closed Bug 200754 Opened 23 years ago Closed 23 years ago

Column width for column class set in CSS sheet is incorrectly shown in the browser.

Categories

(Core :: Layout: Tables, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: vicomte, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 In the page http://alphadimensions.net/~vic/index.php the columns listed in the news page are set with class's based and set in http://alphadimensions.net/~vic/css/style.css The width in the display of the page is incorrect, and not as set. Reproducible: Always Steps to Reproduce: 1. Load the page and the problem is there 2. 3. Expected Results: All the columns should be at the width stated. 400 pixels.
The table has no width set on it. The cells have 400px widths. Looking at http://www.w3.org/TR/CSS21/tables.html#auto-table-layout, item 2 in the section on determining table width, we have: If the 'table' or 'inline-table' element has 'width: auto', the computed table width is the greater of the table's containing block width and MIN. Where "MIN" is the width needed by the cells. In this case, that's exactly what Mozilla is doing.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.