RadioRadio
Sunday, March 10, 2002
[10:45:06 AM]
CSS tip: It isn't quite true that CSS page layouts are incompatible with table layouts. You can use a table for the page layout, and in each table cell, put the content in a div, and position the div 'absolute'. CSS-deprived browsers will use the table, CSS-rich browsers will use the absolute position from the stylesheet.
Is there ever a use for this?
Multiple columns for a page can be more "usable". Having the content in the first column -- or at the top of the page -- is better for accessibility. You can achieve both of these objectives with a table layout. Then you can use CSS absolute positioning to rearrange columns for aesthetics -- so CSS browsers display the navigation in the left column, and the content in the right, for example.
© Copyright 2002 john robert boynton.
Last update: 9/27/02; 6:29:31 PM.