tableless css?

Out of context: Reply #3

  • Started
  • Last post
  • 5 Responses
  • sparker0

    it just depends on the data needing to be rendered. if it is tabular in nature - ie spreadsheet style - then tables are fine.

    the concept is that tables are NOT used for layout and design...

    a grouping of thumbnails could be construed as tabular in nature, so it would be find to use xhtml tables.

    remember, though, within xhtml a lot of the non-valid attributes have been removed. xhtml is strict in it's definition. tables don't offer some of the attributes in xhtml they do in html.

    in xhtml/css layouts a table is just that, a table of data. it doesn't hold color information, it doesn't hold layout and positioning information, it doesn't hold spacer gifs or anything like that...it is essentially a spreadsheet for browser rendering.

    the css layer handles all visual rules.

    this conforms with the correct way of developing sites...seperating content, style, scripting and markup (or as zeldman's book says - structure, presentation and behavior).

    :)

View thread