|
About a year ago I discovered the CSS technique which allowed me to replace all of my tables with DIVs. It did seem to simply the code significantly, and also decreased load time which was a very good thing.
Having said this, I eventually realized that tables certainly do have their place and it would be a mistake to develop a dogma against them. The real problem with tables is when you use them for layout, and you have tables nested inside of tables, inside of tables, ad infinitum.
However, if you have an element of your page that clearly divisible into rows and columns, that is what a table is for and there is no shame in using it. I can definitely say that when it comes to situations like this, using table tags is much more efficient both in terms of the time it takes me and the results.
So my short answer would be, use a table when you are actually designing a table. Your page layout, however, should be designed using divs.
|