|
Posted by Andy Dingley on 04/14/06 22:37
On Thu, 13 Apr 2006 22:07:11 +0100, Paul B <dfmmm3m3o4@seventynine.net>
wrote:
>I understand that using tables is not the 'correct' way to create a
>webpage layout, so I wondered what the general consensus is on using
>div tags to 'simulate' a table:
>http://seventynine.net/testing/test01.html
The way you've done it ? Terrible.
You've used the CSS table behaviours applied directly to <div>s. This
not only acts like a table, it _is_ a table. There's no case where this
would be relevant to use CSS-wise where a HTML <table> wouldn't be just
as appropriate. Equally if it's not justofed to use a<table>, then this
approach is no better.
The CSS table behaviours were intended for styling HTML tables, or for
rendering XML directly with CSS. They certainly weren't intended for use
on other HTML elements.
[Back to original message]
|