Table VS css

Out of context: Reply #55

  • Started
  • Last post
  • 67 Responses
  • monNom0

    css has many advantages over tables

    • Easier to mantain larger sites
    • Easier to work on when you have a team of people working on a site
    • saves bandwith because you're not sending spacer gifs and other images for layout purposes
    • separates style from content
    • makes it accessible for people with disabilities
    • your site doesn't go to crap if someone resizes the text

    etc. etc. etc.
    jakeyj
    (Feb 6 06, 08:52)

    I really have to disagree.

    large sites are generally maintained via a CMS and use templates to format the data... the template doesn't care if it's tables ot divs, or just has empty spaces to fill.

    space gifs are usually 1x1 px gifs that are resized to suite... that's 1 byte downloaded once and used multiple times by your browser... not a big hit.

    you can still use CSS to style your text... pretty much any css site still has purposless divs wrapping the content to format it.

    screenreadewrs have been able to read through tables for years... you don't think the software companies would just wait for table-free sites would you?

    and lastly, with any complex layout, you're more likely to have it messed up by resizing text in CSS than you are with tables... at least with tables you keep a bit of a grid... CSS will reflow content in bizarre ways.

    the fact of the matter is, buiding a site in all CSS is a pretty cool feat, but it's not a requirement for validation or usablity.

    I recently saw a design come in here where the designer had labourously recreated a tabular listing of data using nothing by spans... the code was rediculous.

View thread