Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Question concerning CSS Tables Re: Question concerning CSS Tables

#64747
Matt
Member
"Robskiwarrior" wrote:
Basically – because you might as well just use a table – it’s 100% compatible, where as using the CSS can be, as you stated, a little dodgy. So then if you need to arrange data, tables work fine – the only issue with tables is when you use them for site structure.

The point here is that through the use of CSS-Tables, it’s possible to create a table-oriented site without screwing over accessibility. Instead of flooding the style-sheets with unused grid-selectors, like what is present with current frameworks (though, debatable), you could do the same with much less definitions using css-tables. CSS Tables make the content act like tables, without skewing the markup to make it actual tables.

EDIT
Better rule:
For structure: CSS Tables
For Tabular Data: HTML Tables; CSS Tables just don’t have the complete feature-set available to displace HTML tables. Besides that, it’s better to use HTML Tables for tabular data for accessibility and SEO reasons.