Tables vs. Div’s…

tablesvsdivs

Yes, you read right, “Tables vs. Div’s”… Most of you are wondering why there is even a reason to post this at all.. But basically, this post is just to get some input from some of you more “seasoned” professionals. Here is a bit of a background to the story here…

Lately i’ve been involved in a few conversations about tables being better than divs, due to them being more controllable. Obviously I disagree with this, having always been taught that tables are evil, and basically never to use them unless its absolutely necessary. This being said, I can basically count on one hand the amount of times in the last 3 years that I have had to use tables rather than div’s. I have used tables in the past, but we’re talking HTML, not XHTML in that case.

My goal by posting this is to hopefully get a general idea of what other people’s views on this are. I disagree right now that tables should be used for anything in today’s form of development, and that I have an easier time positioning div’s rather than tables, as well as controlling them overall. Let’s see if anyone can change my mind.

Post some comments, or email me directly, I’d like to get a bit of a debate going here since there are obviously some people who prefer tables over div’s.

Thanks. :D

Tags: , , ,

2 Responses to “Tables vs. Div’s…”

  1. jenNo Gravatar says:

    Plain & simple, tables for tabular data never for presentation. There’s always a way to control the layout with css. Sometimes you just have to work harder at it than you think. Some developers I’ve worked with just go ahead and throw a table in to control the layout, but I think it’s a total cop out.

  2. TimNo Gravatar says:

    I would never use a table for a design or layout.

    Although they do have a purpose when presenting data.

Leave a Reply