Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- Variable column widths in CSS


Paul_o_b - 4:41 pm on Nov 5, 2011 (gmt 0)


The first question is whether this is tabular data or not?

If the answer is tabular data then use a table as that is what it is meant for and is the correct and semantic element to use.

If the answer is that the data is not tabular then the second question would be why has your layout got 14 columns? That would not be practical for most cases.

If you have good reason to have 14 columns and the data is not tabular then you could use the display:table and display:table-cell properties for ie8+ but of course leaves you finding alternatives for ie7 and under (such as floating).


Thread source:: http://www.webmasterworld.com/css/4383827.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com