[Wylug-help] HTML/CSS table width

Dave Fisher wylug-help at davefisher.co.uk
Wed May 7 15:45:13 BST 2008


On Wed, May 07, 2008 at 03:32:34PM +0100, Dave Fisher wrote:
> N.B. standards browsers typically preserve designer-specified box sizes
> when content exceeds the space available ... IE often fails to, because
> the box in question has the 'hasLayout' property set to 'true'.  
> 
> The hasLayout property can be 'true' under all sorts of ridiculous
> conditions, but most table components have it by default:
> 
>   http://www.satzansatz.de/cssd/onhavinglayout.html#elem
> 
> Note, that col doesn't.

As you can see, the visual formatting model for tables is complicated:

  http://www.w3.org/TR/CSS21/tables.html#table-layout

Not only do the fixed and automatic rules differ:

  http://www.w3.org/TR/CSS21/tables.html#fixed-table-layout

  http://www.w3.org/TR/CSS21/tables.html#auto-table-layout

The key parts of the automatic rules are *non* normative.

Dave



More information about the Wylug-help mailing list