Guided Miss-Aisle
Posted on 30 Mar 2009 at 15:09
Kevin Partner is on a mission to find a good guide to website development, and suggests some useful tools for online businesses.
The layout was created using tables, of course - tables within tables within tables, to be more precise. As a last straw, the designer had used the
tag. If ever anyone needed a basic book on web development, it was this designer - ten years ago this might have been an acceptable design and layout solution, but it's little short of criminal for a practising web designer to serve up outdated practice like this to a paying client. Exactly why it was done this way remains a mystery, although I strongly suspect ignorance and a lack of interest.
A few years ago, the quarrel over whether to use tables or CSS for layout was settled conclusively in favour of CSS, whose theoretical advantages had been crystal clear for a long time: more compact XHTML pages are easier to index and more accessible, plus you can completely change a site's appearance merely by editing one CSS file and leaving the XHTML untouched. The problem arose from the tardiness of the browser vendors in properly supporting CSS. No-one wanted to duplicate every site, once for users of modern browsers and again for the sizable minority of Netscape and IE5 users, so tabular layouts retained the practical advantage of working for everyone. This excuse, however, has ceased to be valid for some time.
In fact, the last browser you could make this excuse for was IE5.5, and looking at January's server logs for www.passyourtheory.co.uk, I see that accounted for 0.03% of all visitors and Netscape 0.01%, while IE6, 7 and 8 dominate and account for 79%, with Firefox on 17%, Safari 3% and Chrome less than 1%. IE6 may implement CSS less than perfectly, but it does it well enough to negate any argument in favour of tables. So why then do the current editions of almost all books aimed at beginners include a chapter on table-based layouts? Some of them even attempt to justify themselves by outlining the "advantages" of this approach, including the quite breathtaking assertion that tables are "much easier to learn and manipulate than CSS rules". Have you ever looked at the Source View of a complex table-based website? Could you make any sense of it? No, me neither.
As someone who's been developing training materials for 20 years now, it offends me when newcomers to our profession who've paid good money for a foundation in web design and development are immediately led off in the wrong direction. Not only do they have to learn all this nonsense about tags, tables and the rest of that old junk we used to use to make our web pages more interesting, but they're going to have to unlearn all of it again once they realise (if they ever do) that it isn't the way good designers and developers do things nowadays. Tables are designed for containing tabular data and that's it. There's very occasionally part of a layout that can only be practically realised using a table, but such instances are rare and should be a last resort.
So what's going on here? Why do all these books peddle such dross? There are only two reasons I can see: either ignorance or sheer laziness, and my money would be on the latter. Most of these books are now into their umpteenth editions and were originally written back when tables and font tags were the only way to achieve most design tricks. You can imagine the thought process that goes through the minds of editors and authors as they consider a new edition - to produce a book that teaches beginners the correct way to do things they'll need to dump huge sections of the existing text, as opposed to the far more appealing option of simply adding some extra chapters, like for example, CSS layouts. One of these major books, now in its eighth edition, has left all of the outdated techniques in place with a note saying "this is now deprecated" at the foot of each page, while another details the old approaches at the beginning and the new approaches at the end, giving no indication that one is better than the other.
From around the web
advertisement
- How to make Google AdWords work for your business
- The curse of sloppily written software
- Paying for your crimes with Bitcoin
- Behind the scenes: tech support for Formula 1
- The security risk of fat fingers
- Why Windows Phone 7 isn't quite ready for business
- When will Microsoft stop fiddling with Windows 8?
- Flash down the pan?
- Metro Style apps vs desktop applications
- Coping with Facebook changes
- Chrome's shine getting lost in translation
- BytePac: the cardboard hard disk enclosure
- How tech loosens our grip on reality
- Hokum watch: Safer Internet Day
- Why I'm deleting Adobe from my PC
- Prepare to be patronised: it's Safer Internet Day
- Dear Sony, Samsung and every other tech company in the world: stop trying to be Apple
- Will Apple's Final Cut Pro X update placate the pros?
- Smartr Contacts for iPhone review
- Switching to Office 365's Outlook Web App
- VeriSign slammed for security breach cover-up
- SAP willing to share HANA with Oracle
- Why using a tablet could harm your health
- New RIM boss: no need for drastic change
- RIM founders fall on their swords
- Slow economy helps boost Red Hat revenue by 23%
- Google+ pages get multiple admins
- One in five companies lack card industry compliance
- Oil industry warns hacking attacks could kill
- British workers fear email monitoring
advertisement

