W3C home > Mailing lists > Public > www-style@w3.org > October 2002

CSS2.x fixed table layout

From: Eric A. Meyer <eric@meyerweb.com>
Date: Fri, 4 Oct 2002 17:18:27 -0400
Message-Id: <v0422080cb9c3b2e0438e@[]>
To: www-style@w3.org

    I'm a little unclear about how fixed-layout tables are supposed to 
behave in CSS2 and CSS2.1 (the wording's basically the same between 
the two), section 17.5.2.  It comes to this: in the absence of 
explicitly declared column elements, or styles assigned to column 
elements, do table cells count for the purposes of calculating column 
element widths, or can cells protrude from their columns?  I'm not 
aware of any language that says one way or the other, and we do have 
precedent for elements being visually wider than their parents.
    Is this covered by the restriction that table cells can't have 
margins, and thus can't have negative margins, and thus can't 
protrude?  If so, what happens when a column is set to have a width 
of 100px and a cell within the column has a width of 150px-- does the 
cell shrink, or the column grow?
    So I guess my question is actually about how cells and columns 
interact; once that's answered, I can figure out how fixed-layout 
tables will behave.  Oops, one other question: is only the first row 
of a fixed-layout table used to determine widths, or are all rows 

Eric A. Meyer  (eric@meyerweb.com)  http://www.meyerweb.com/eric/
Author, "Cascading Style Sheets: The Definitive Guide,"
  "Eric Meyer on CSS," "CSS 2.0 Programmer's Reference," and more
Received on Friday, 4 October 2002 17:19:40 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:04 UTC