Customizing SMF > Graphics and Templates

A CSS board

<< < (2/2)

Joel:
Tables should be used for tabular data -- information "where a logical relationship exists between data arranged in columns and rows" (source). Since forums generally fit this definition, tables should probably be used.

I'm a big proponent of both standards compliance and the separation of style and structure, and I believe many people misinterpret those ideas as meaning "tables are bad." This is not true at all. Tables have a specific purpose that cannot be matched by any other HTML tag.

With the template I'm working on for my site, I've managed to remove some tables and move all the table-related style (border, padding, etc.) to CSS. It's pretty site-specific (I completely removed some things that I won't be using on my site), but if there's a big demand for it I might make an as-XHTML1.0Strict-as-possible version of the default template when SMF 1 Final is release.

Spaceman-Spiff:
reducing tables is good, but removing tables entirely and replacing with divs or spans only are not...

Navigation

[0] Message Index

[*] Previous page

Go to full version