Standards, argues Jeffrey Zeldman in Designing With Web Standards, are our only hope for breaking out of the endless cycle of testing that plagues designers hoping to support all possible clients. In this book, he explains how designers can best use standards--primarily XHTML and CSS, plus ECMAScript and the standard Document Object Model (DOM)--to increase their personal productivity and maximize the availability of their creations. Zeldman's approach is detailed, authoritative, and rich with historical context, as he is quick to explain how features of standards evolved. It's a fantastic education that any design professional will appreciate.
Zeldman is an idealist who devotes some of his book to explaining how much easier life would be if browser developers would just support standards properly (he's done a lot toward this goal in real life, as well). He is also a pragmatist, who recognizes that browsers implement standards differently (or partially, or not at all) and that it is the job of the Web designer to make pages work anyway. Thus, his book includes lots of explicit and tightly focused tips (with code) that have to do with bamboozling non-compliant browsers into behaving as they should, without tripping up more compliant browsers. There's lots of coverage of design and testing tools that can aid in the creation of good-looking, standards-abiding documents. --David Wall
Topics covered: Why Web standards (such as XHTML, CSS, ECMAScript, and DOM) are good for everyone, and why site designers and browser makers should move towards standards compliance.
Book Description
You code. And code. And code. You build only to rebuild. You focus on making your site compatible with almost every browser or wireless device ever put out there. Then along comes a new device or a new browser, and you start all over again.
You can get off the merry-go-round.
It's time to stop living in the past and get away from the days of spaghetti code, insanely nested table layouts, tags, and other redundancies that double and triple the bandwidth of even the simplest sites. Instead, it's time for forward compatibility.
Isn't it high time you started designing with web standards?
Standards aren't about leaving users behind or adhering to inflexible rules. Standards are about building sophisticated, beautiful sites that will work as well tomorrow as they do today. You can't afford to design tomorrow's sites with yesterday's piecemeal methods.Jeffrey teaches you to:Slash design, development, and quality assurance costs (or do great work in spite of constrained budgets)Deliver superb design and sophisticated functionality without worrying about browser incompatibilitiesSet up your site to work as well five years from now as it does todayRedesign in hours instead of days or weeksWelcome new visitors and make your content more visible to search enginesStay on the right side of accessibility laws and guidelinesSupport wireless and PDA users without the hassle and expense of multiple versionsImprove user experience with faster load times and fewer compatibility headachesSeparate presentation from structure and behavior, facilitating advanced publishing workflows
From the Publisher
If ever there were an author who could make web standards exciting, its Jeffrey Zeldman. His light and humorous writing style make for such an engaging read. Its only after you stop reading that you realize how much youre learning. Whats more, youre not just learning -- youre learning from THE ABSOLUTE BEST web standards guy there is. Daily, Zeldman practices what he preaches, and in this book, he openly shares all he knows. In no time, youll be saving time and money by creating faster, leaner, more compatible web pages. Not longer after that, you'll find you have more free time, having been spared the endless cycle of coding and re-coding web pages for every possible browser/system scenario. You might even find you have enough free time to join Zeldman on his never-ending quest to convince others that web standards is THE ONLY WAY to go.
From the Back Cover
You code. And code. And code. You build only to rebuild. You focus on making your site compatible with almost every browser or wireless device ever put out there. Then along comes a new device or a new browser, and you start all over again. You can get off the merry-go-round. It's time to stop living in the past and get away from the days of spaghetti code, insanely nested table layouts, tags, and other redundancies that double and triple the bandwidth of even the simplest sites. Instead, it's time for forward compatibility.Isn't it high time you started designing with web standards?Standards aren't about leaving users behind or adhering to inflexible rules. Standards are about building sophisticated, beautiful sites that will work as well tomorrow as they do today. You can't afford to design tomorrow's sites with yesterday's piecemeal methods. Jeffrey teaches you to: * Slash design, development, and quality assurance costs (or do great work in spite of constrained budgets)* Deliver superb design and sophisticated functionality without worrying about browser incompatibilities * Set up your site to work as well five years from now as it does today * Redesign in hours instead of days or weeks * Welcome new visitors and make your content more visible to search engines * Stay on the right side of accessibility laws and guidelines * Support wireless and PDA users without the hassle and expense of multiple versions * Improve user experience with faster load times and fewer compatibility headaches * Separate presentation from structure and behavior, facilitating advanced publishing workflows
About the Author
Jeffrey Zeldman's personal web site (www.zeldman.com) has welcomed more than 16 million visitors and is read daily by thousands in the web design and development industry. In 1998, Zeldman co-founded The Web Standards Project (www.webstandards.org), a grassroots coalition of web designers and developers that helped end the Browser Wars by persuading Microsoft and Netscape to support the same technologies in their browsers.
Designing with Web Standards FROM OUR EDITORS
The Barnes & Noble Review
Once upon a time, only "idealists" believed in standards-based web design. You know the conventional wisdom: "Standards are great 'in theory.' But browser support is weak. If I write for IE, I only disenfranchise a 'few' visitors, and it's so much easier. Besides, standards are boring!"
In 2003, however, it's become obvious that the idealists had it right. The old ways of building sites are no longer viable. As Jeffrey Zeldman puts it: "We build only to rebuild.... Even on those rare occasions in which a new browser or device mercifully leaves our site unscathed, the so-called "backward-compatible" techniques we use to force our sites to look and behave the same way in all browsers take their toll in human and financial overhead....
Spaghetti code, deeply nested table layouts, font tags, and other redundancies double and triple the bandwidth required for our simplest sites. Our visitors [wait] endlessly for our pages to load. Or they tire of waiting and fleeᄑ We pay our hosting companies to keep up with the bandwidth our pages squander.... Our databases make more queries than they have toᄑ. Meanwhile, the hourly rates of the programmers we pay to code our sites six different ways can drive development costs so high we simply run out of money."
Standards offer the way forward. CSS, DOM, XHTML/XML -- they really work now. If ESPN can serve 10 million viewers a day with nary a table, font tag, or line of browser detection code, so can you!
Designing with Web Standards is no airy treatise on how things ought to be. These are practical techniques by -- and for -- web professionals with real clients and payrolls. Yes, there are occasional compromises. Zeldman recognizes that standards support is a continuum, not an "all-or-nothing" proposition. Nevertheless, this book will help you get off the treadmill of web obsolescence.
Zeldman's a fan of XHTML 1.0 Transitional and offers a series of simple rules and easy guidelines for moving to it. (Lots of the "scut work" can be done automatically by the marvelous open source tool HTML Tidy.)
More important than the mechanics, Zeldman shows how to start thinking of markup in terms of sense and structure, not style. He introduces a "hybrid" approach that streamlines your table layouts without entirely abandoning them, and a "two-sheet" method for handling those awful legacy browsers.
Fine, you're thinking, but I need design effects that support the brand and just plain look great. Can I do all that without GIF text, JavaScript rollovers, spacer pixel GIFs, deeply nested tables (or, for that matter, Flash)? Yes, you can -- as Zeldman proves with a detailed case study.
He then covers the remaining complexities, issues, and workarounds that go with standards compliance: DOCTYPE switching, box models, IE/Windows whitespace and "float" bugs, embedding multimedia without non-compliant tags; and typography. In a chapter on the relationship of accessibility to standards, Zeldman explodes more than a few myths. Finally, he walks through a complete CSS redesign, from goal-setting through navigation.
It's time you took these ideas to heart. Bill Camarda
Bill Camarda is a consultant, writer, and web/multimedia content developer. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks for Dummies, Second Edition.
FROM THE PUBLISHER
Browser wars are over and the days of incompatible code among browsers are almost gone. Instead, companies such as Microsoft and Netscape are coordinating their efforts to make web site creation easier by developing and implementing web standards. This initiative will decrease the amount of work for developers and designers because they will no longer need to create web sites for browsers that have inconsistent tag usage. Leading this initiative is Jeffrey Zeldman as part of the WaSP organization. WaSP is coordinating the efforts of the browser companies and the World Wide Web Consortium (W3C) to develop mark-up languages that work consistently with all browsers today and in the future. Designing with Web Standards covers the ultimate mark-up efficiencies that work within these standards. Specifically, Jeffrey, with his humorous style, explains the unstoppable progress of XML, tighter code practice, associated elements involving XHTML, CSS, and why compliance isn't a dirty word.