|Home | Blog Index | Blog Archives | Christianity & Faith Essays
CSS vs tables battle - getting ridiculous
I was recently invited to bid on a web design contract for a state government agency. The money wasn't bad, but I passed on it mainly because projects of that size tend to be an endless nightmare of trying to satisfy the expectations of 100 different people. Been there, done that, don't want to go back. But the one thing that irritated me about the project spec sheet is that they required that the site be done in CSS (cascading style sheets) so that, in their words, the site would "look professional and use the latest in web technology". For those of you that aren't in the web industry, CSS is another web coding language used to lay out sites using a coordinate-based system. It is an alternative to laying out a page with the traditional table system (rows, columns). There is more to it than that, but that's the main difference - I won't bore you with the complex details. This site, by the way (as well as every other site I've done), is using the table system.
There is a raging debate in the web development world today on which method is best (CSS or tables). So what side am I on? Really, I'm neither. I will say however that after using table-based code for nearly 14 years, I find CSS to be rather cumbersome and very difficult to obtain cross-browser compatibility with. But if a coder wants to use CSS, great - I have no problem with that. The main beef that I have with the majority of the CSS crowd is their condescending attitude toward, and sweeping condemnation of, tables-based coding. The fact that the WV state contract requires CSS says to me that some anti-tables 'crusader' on the inside convinced a technologically-niave project manager that anyone not using CSS was going to produce an inferior product - which is simply a lie!
The truth is that CSS and tables can produce identical layouts. There is not one type of layout that one can do that the other cannot. I have worked on many web management projects where I converted a client site from CSS to tables so I could implement my own ready-made scripts - the site looked and worked just the same afterwards! The end user sees no difference. And as for the 'edit one file, change the whole site' argument for CSS, you can accomplish the same thing with PHP or SSI includes (which I use on all of my sites). The only time I've had to use a CSS element was to install a DHTML menu for a customer that wanted one. But even then, the whole site didn't have to be in CSS for that one menu to work.
I've heard some CSS extremists go as far as suggest that tables be phased out and browser support for it dropped - in essence forcing everyone to go CSS. That's absolutely insane! The only rationale I can see behind all of this idiocy is to eliminate business competition by smearing tables-based designers. They did it with the West Virginia state agency.
So to summarize, I have no problem with CSS and recognize its sufficiency in producing a working product. I have many friends and colleagues who are CSS gurus and they can hammer out a killer site with the best of them. I just wish the CSS crowd would stop bashing the tables camp and misleading potential clients with bogus claims of CSS superiority.
This web site is made possible by support from CIS Internet.
GO: Home | Storm Expeditions | Photography | Extreme Weather Library | Stock Footage | Blog
Featured Weather Library Article: