www.att.com home page redux
The AT&T home page adopted a brandy-new look this weekend. It's still valid XHTML/CSS, just as before. This time around we've revisited the print media style plus added handheld media style. (Finally, I can view the page on my PDA without scrolling horizontally!)
UPDATE: www.att.com has begun to officially change hands, starting with the home page. Read all about it.
The new design (which I can't take credit for - I'm only guilty as charged for the XHTML, CSS and JavaScript) sports a fixed-size feature that's flanked by cells of text along the right/bottom sides and lower-right corner. The challenge posed to myself and partner-in-crime Vincent Murphy: Create a page that's true to the comp yet built with standards-friendly, accessible, and semantically meaningful XHTML, CSS and JavaScript behind the scenes.
All in all, I'm quite pleased with how it turned out. There will be the inevitable touch-ups (and occasional refactorings) but it is extremely close to the comp, if not spot-on:
In the spirit of accessibility we kept all the text scalable. Alas, this breaks the layout up a bit when increasing the font size <!>. I'm hopeful we'll find a way to tackle the scaling more gracefully, probably using a variation of Pixy's 3-column layout technique (which we're already using across the rest of the site).
I expect we'll do something with the three promos to the right of the feature (read: "make the text a bit bigger and relatively easier to read").
While I didn't get a round tuit this time, I'm still quite eager to completely divorce the last bits of JavaScript from the XHTML. (Why just separate content and presentation, right? Get page behaviors in on the act too!) We already do this elsewhere on the site, for instance with the "highlight" class as applied to our Access Keys table - no need for onhover in the markup.
Worthy of extra-special mention are GreyWyvern's min-height hack and Dan Cederholm's Mountaintop Corners technique; both are featured rather prominently.
There's lots more in the CSS and JavaScript from the likes of Holly Bergevin, Caio Chassot, probably a few others I'm not recalling at the moment. (Wait - need I mention Eric Meyer and the css-discuss list where I happily lurk on a semi-daily basis? But of course!)
While expected appearances by RSS and sIFR 2.0 RC3 didn't make the cut ("awwww ..."), I'm sure there will be plenty of opportunity to finish tackling both of 'em going forward ("... yay!").
Every time I write a new kind of standards-based page, it winds up being a learning experience well worth the time and effort invested, many times over, no matter what hurdles I encounter along the way. With that, I offer stupendously huge thanks to everyone who had a hand - directly, indirectly or even unknowingly - in making this latest revision possible.
Sure enough, a combination of Pixy’s and Dan’s techniques worked wonders for the lower-half of the home page. Try it now at different text sizes. Still no tables, print and handheld media are unaffected, plus the XHTML and CSS files actually got smaller as a result, especially the XHTML (who’da thunk it?).
Next on the list to tackle: Margin, padding and size of the three text promotions at top-right, revisiting sIFR <!!!> and scaling the main feature.
Posted by: Joe D'Andrea | 17 February 2005 at 07:37