CSS and Tables: the hype and the Trends

CSS and Tables: The hype and the trendssuperiority and a zealous attitude towards web
The History of tablesdesign.
Before tables came along, the web was a pretty dullSome things are just easy-to-do with tables
place. Using tables forlayout opened up new vistas ofPeople often find themselves writing fairly
possibilities of visually "designing" a page.complicated CSS to do something that would be
It could well be argued that table based layout wastrivial using tables. Take form styling for an instance.
responsible for the popularityof the web and the fieldIt's possible to lay out even very tricky forms using
of web design.tables in just a few minutes. You can achieve similar
Worse still, over the last few years, table basedresults by floating elements with CSS, but it's a lot
layout has come under severe criticism and wasmore involved. If you're a CSS guru it's all part of the
widely demonized. Web purists claim that tables werefun. However if you're a regular mortal, it can be
never meant for layout so one shouldn't use themincredibly frustrating.
for such. A rapidly progressive hype seems to be inAnother such thing is page footers. It's pretty easy
the air all around.to do using tables. Whilst doing this using CSS alone,
Reality behind the hypeit would hardly be any wonder why web developers
Despite the fact that pioneers have been talkingturn their back on CSS when even simple things are
about web standards for a long time, the majority ofrendered so
web sites are still developed using tables and nonIf you have the knowledge and patience, you can do
standards compliant code .most things using CSS that you used to do using
History has shown many examples of technologiestables. Sure it may take you longer, but you'll get
that started out life with one purpose, only to end upthere in the end (or die trying).
finding more practical applications as something else.CSS benefits. But does it provide you what you
And it sounds very apt in case of tables. The webneed?
itself was never intended to be a channel forIt's true that switching a large site to a CSS based
edutainment, marketing and information but forlayout can save a huge amount of bandwidth.
sharing research data.However, for most sites, this saving would be
Using tables is a pragmatic approach, if not preferredinsignificant or mostly irrevelent.
The W3c Web Accessibility Guidelines recognize thatPeople want fast loading pages and many advocates
designers will continue to use table for layout - andhave suggested that CSS helps accomplish this. For
so include information about how they can bemost sites, the "design" is spread evenly across the
implemented in the most accessible way. Designerswhole site. However with CSS based sites, the
are not going to immediately stop using tables for"design" is usually held in one or more external files.
layout; mainly owning to the reason that this is theThese files can be fairly complicated, and even for a
default behavior of most WYSWYG (what you seesimple site, can get big, or even fast.
is what you get) Web design packages and; CSS forSearch engine friendliness: CSS vs Tables
layout is so difficult to implement successfully.It's true that the search engines like semantic pages.
Moreover, Professionals still argue the use of tablesIt's also a widely held notion that search engines like
for the layout of pages on the Web, despite thelean code. Building a site using CSS and web
fact that this goes against current standards. Theystandards can defiantly encourage the development
argue it to be a pragmatic approach - if not theirof search engine friendly sites. However it's neither
preferred options.magic bullet, nor a panacea either.
Let's explode the myths: CSS vs TablesThere are many table based sites that score very
Most web designers don't simply feel the need tohighly in the search engines. It's equally possible to
switch overbuild a CSS based site that gets a terrible search
The majority of web sites are still developed usingengine ranking. The most important thing for high
tables and non standards compliant code. Because ofranking is content and inbound links, not whether a
this, user agents will be forced to handle table basedsite uses tables or CSS for layout.
layouts for many years to come. This effectivelyIssues pertaining to accessibility
negates one of the biggest selling points for webThere is quite increasing number of people who try
standards. That of forward compatibility. That's why,to sell web standards and especially CSS based
most web designers really don't feel there is andesign by playing on client's accessibility fears.
overwhelming need to start developing sites usingThere isn't anything inherently inaccessible about table
CSS based layouts and standards compliant code.based design. While it's true that your site needs to
CSS development has a much higher barrier to entrybe published to a recognised set of grammars to get
than table based designan AA accessibility rating, tableless design is only a
While comparing table based design to CSS basedrecommendation, not a requirement for the more
design, the syntax of CSS, for sure, turns out to bestringent AAA rating.
is pretty easy. Nobody in their right mind would argueThe final word
that you need too be a rocket scientist to learn CSS.Final Table based design will be around for a long
Nevertheless, some of the concepts can be quitetime. However, it is not good enough just to say
tricky to assimilate.that it is wrong to use them . In certain
Continuing in the same spirit it is true that there arecircumstances using tables for layout can make much
so many bugs, even the "experts" find themselvesmore sense than CSS.
spending an inordinate amount of time bug fixing. ForWeb standards and CSS based design are defiantly
a novice this must be extremely frustrating. Notthe way forward. However in the rush to advocate
knowing if the problem is down to yourthese "new" techniques, people end up being
misunderstanding of CSS or some obscure browserhyperbolic and the reality falls short of
bug.expectationent Company with a well connected
Perhaps this is why many people see web standardsdevelopment infrastructure in India having a strong
as "Ivory Tower" and why many web standardsoffering superior web services and solutions at
advocates come across as having a sense ofcompetitive costs.