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.
advertisement
- Getting to grips with Microsoft's IT Health Environment Scanner
- Virtualise your servers
- The changing face of travel gadgets
- Build your own distributed file system
- The bulletproof Dell that costs an arm and a leg
- Microsoft Office 2010 Technical Preview: Q&A
- Lawnmowers, the TyTN II and one odd insurance request
- There'll never be a bulletproof OS
- How far can we trust apps?
- Five nice touches in Outlook 2010
- Why Britain's watchdogs have fewer teeth than goldfish
- Tabbed documents: how to make Office 2010 great
- Outlook 2010 People Pane – does it spell death to Xobni
- Microsoft Outlook 2010 screenshots
- Co-Authoring in Word 2010 and SharePoint Foundation 2010
- Microsoft Outlook 2010 screenshots: Backstage view
- Flash 10.1: Developing for Desktop and Device
- Microsoft Office 2010 screenshots: Recover unsaved items
- Microsoft Word 2010 screenshots: Text Effects
- Microsoft Word 2010: inserting screenshots
- Q&A: Why Conficker was a victim of its own success
- App developers losing faith in Android
- Biz Stone: Murdoch's Google veto will "fail fast"
- Google adds automatic captions to YouTube
- China ramps up cyber spying
- Mozilla maintains dependence on Google
- Windows 7 flying off the shelves
- Google Chrome OS: full details unveiled
- AOL slashes 2,500 jobs
- YouTube begins streaming full-length shows
advertisement
Printed from www.pcpro.co.uk


