Tables versus CSS | ||
| March 17, 2007 | Stephen Ward | |||
|
There’s a debate in web development circles that has been going on for years. On one side, you have the traditionalists who prefer tables for layout purposes. On the other, you have the CSS purists who prefer to separate display from content completely. I’d say the latter group has been winning the debate lately, although both sides make a valid argument. Personally, I find it pointless to argue over which is inherently better than the other. It’s really just a matter of personal preference. Each has strengths and weaknesses, with the only differences in performance depending on the situation. Despite what some CSS purists will tell you, there are situations in which you’re better off with a table-based layout, and vice versa. Here are the pros of each method as I see it. Benefits of Tables
Benefits of CSS
Honestly, I’m a fan of both. Anyone looking at the source code of Project Paradox will see that it’s a hybrid. Like any good web developer, I care more about results than coding paradigms. Thus, I use CSS whenever possible, but I’m not afraid to fall back on tables when CSS would be more cumbersome. No doubt some purists will disagree with this. As I see it, though, when you keep your eyes on the final product without being constrained by design philosophies, your websites will be better and your clients will be happier. | ||||
| Comment | Bookmark | Subscribe | ||