| CSS and Tables: The hype and the trends | | | | superiority and a zealous attitude towards web |
| The History of tables | | | | design. |
| Before tables came along, the web was a pretty dull | | | | Some things are just easy-to-do with tables |
| place. Using tables forlayout opened up new vistas of | | | | People 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 was | | | | trivial using tables. Take form styling for an instance. |
| responsible for the popularityof the web and the field | | | | It'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 based | | | | results by floating elements with CSS, but it's a lot |
| layout has come under severe criticism and was | | | | more involved. If you're a CSS guru it's all part of the |
| widely demonized. Web purists claim that tables were | | | | fun. However if you're a regular mortal, it can be |
| never meant for layout so one shouldn't use them | | | | incredibly frustrating. |
| for such. A rapidly progressive hype seems to be in | | | | Another 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 hype | | | | it would hardly be any wonder why web developers |
| Despite the fact that pioneers have been talking | | | | turn their back on CSS when even simple things are |
| about web standards for a long time, the majority of | | | | rendered so |
| web sites are still developed using tables and non | | | | If 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 technologies | | | | tables. Sure it may take you longer, but you'll get |
| that started out life with one purpose, only to end up | | | | there 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 web | | | | need? |
| itself was never intended to be a channel for | | | | It's true that switching a large site to a CSS based |
| edutainment, marketing and information but for | | | | layout 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 preferred | | | | insignificant or mostly irrevelent. |
| The W3c Web Accessibility Guidelines recognize that | | | | People want fast loading pages and many advocates |
| designers will continue to use table for layout - and | | | | have suggested that CSS helps accomplish this. For |
| so include information about how they can be | | | | most sites, the "design" is spread evenly across the |
| implemented in the most accessible way. Designers | | | | whole 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 the | | | | These files can be fairly complicated, and even for a |
| default behavior of most WYSWYG (what you see | | | | simple site, can get big, or even fast. |
| is what you get) Web design packages and; CSS for | | | | Search 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 tables | | | | It's also a widely held notion that search engines like |
| for the layout of pages on the Web, despite the | | | | lean code. Building a site using CSS and web |
| fact that this goes against current standards. They | | | | standards can defiantly encourage the development |
| argue it to be a pragmatic approach - if not their | | | | of search engine friendly sites. However it's neither |
| preferred options. | | | | magic bullet, nor a panacea either. |
| Let's explode the myths: CSS vs Tables | | | | There are many table based sites that score very |
| Most web designers don't simply feel the need to | | | | highly in the search engines. It's equally possible to |
| switch over | | | | build a CSS based site that gets a terrible search |
| The majority of web sites are still developed using | | | | engine ranking. The most important thing for high |
| tables and non standards compliant code. Because of | | | | ranking is content and inbound links, not whether a |
| this, user agents will be forced to handle table based | | | | site uses tables or CSS for layout. |
| layouts for many years to come. This effectively | | | | Issues pertaining to accessibility |
| negates one of the biggest selling points for web | | | | There 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 an | | | | design by playing on client's accessibility fears. |
| overwhelming need to start developing sites using | | | | There 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 entry | | | | be published to a recognised set of grammars to get |
| than table based design | | | | an AA accessibility rating, tableless design is only a |
| While comparing table based design to CSS based | | | | recommendation, not a requirement for the more |
| design, the syntax of CSS, for sure, turns out to be | | | | stringent AAA rating. |
| is pretty easy. Nobody in their right mind would argue | | | | The 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 quite | | | | time. 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 are | | | | circumstances using tables for layout can make much |
| so many bugs, even the "experts" find themselves | | | | more sense than CSS. |
| spending an inordinate amount of time bug fixing. For | | | | Web standards and CSS based design are defiantly |
| a novice this must be extremely frustrating. Not | | | | the way forward. However in the rush to advocate |
| knowing if the problem is down to your | | | | these "new" techniques, people end up being |
| misunderstanding of CSS or some obscure browser | | | | hyperbolic and the reality falls short of |
| bug. | | | | expectationent Company with a well connected |
| Perhaps this is why many people see web standards | | | | development infrastructure in India having a strong |
| as "Ivory Tower" and why many web standards | | | | offering superior web services and solutions at |
| advocates come across as having a sense of | | | | competitive costs. |