

That would be a debate between using css or html attributes for presentation. You can do that regardless of how you structure your layout. If you originally decide all your h1 tags should be blue and later want them to be red it’s certainly easier to have your h1 style sitting in a single css file. That is true, but you can have all your presentation in a separate css file while having a table-based structure to your html. One argument the css side always uses is that having your presentation in a separate file makes the site easy to maintain. You can use css with a table-based layout. Photo credit: Marjan Krebelj What This Debate is Really AboutĬalling this debate css vs tables is actually inaccurate.
Simple css table example free#
I do think css is the better option, but feel free to develop sites any way you want. I’m not going to tell you that you’re doing anything wrong or evil or that the world is going to come to an end. Let me also say that if you prefer to develop sites with a table-based layout, good for you. To compare we really need to look at sites that are well developed on both sites. However, you can build a great site using tables and a poor site using css.

Having developed and worked on sites both ways I’m 100% certain structuring your layout with tables is not the way to go. Let me start by letting you know I fall on the css side of things. Hopefully I can clear up a few things in this post and let you make your own decision. I think much of the reason css vs tables is still debated is the misinformation people on both sides put out there. I’m surprised this debate continues, though admittedly I’m continuing it right now after the question was raised on my small business forum. One of the debates that never seems to go away in the web development community is that of css vs tables and which is better to use for the layout of your site.
