| Tips, Tricks, News and Reviews for Web Coders | |
In This Issue...
ECommerce Software for Professionals
Limited Offer – Next 50 people receive FREE Certified Reseller Partner training ($295 value). Free 30-Day Trial of Xonca and More Info
Introduction
Next week—and as Tech Times readers you're getting the scoop on this one—will see the launch of The CSS Video Crash Course, a new SitePoint video tutorial series. The eight-part series adds up to over two and a half hours of video goodness, providing a complete introduction to Cascading Style Sheets for the total beginner.
Not only that, but by popular demand we're also launching
downloadable versions of all our video tutorials. And that's just scratching the surface of what SitePoint has coming up. Speaking of videos, the complete video of my talk, Coping with the New Web on the Server Side from Fundamentos Web 2006 in Spain is now available to view online for free. Check it out, along with the talks of my esteemed co-presenters, Richard Ishida, Molly Holzschlag, Andy Clarke, Ben Hammersley, Dean Jackson, and others.
Microsoft Breaks HTML Email Rendering in Outlook 2007If support for web standards in browsers is improving slowly, then support in email clients is moving at a glacial pace. Attempts to document things like CSS support in the major email clients have revealed a depressing state of affairs, but with recent desktop clients like Thunderbird now sitting on solid rendering engines, things have been looking up. All that changed when Microsoft dropped a lump of coal into every web developer's stocking with the end-of-year release to business customers, and the upcoming consumer release, of Outlook 2007. At the risk of turning this newsletter into a biweekly Microsoft bash, Redmond has done it again. While the IE team was soothing the tortured souls of web developers everywhere with the new, more compliant Internet Explorer 7, the Office team pulled a fast one, ripping out the IE-based rendering engine that Outlook has always used for email, and replacing it with ... drum roll please ... Microsoft Word. That's right. Instead of taking advantage of Internet Explorer 7, Outlook 2007 uses the very limited support for HTML and CSS that is built into Word 2007 to display HTML email messages.
But late last month, a thread in the SitePoint Forums caught my eye. Microsoft had published a pair of articles describing the support for HTML and CSS in Outlook 2007, and the news wasn't good:
The limitations imposed by Word 2007 are described in detail in the article, but here are a few highlights:
In short, unless your HTML emails are very, very simple, you're going to run into problems with Outlook 2007, and in most cases the only solution to those problems will be to reduce the complexity of your HTML email design to accommodate Outlook's limited feature set. With the release of Outlook 2007, Microsoft is effectively adding an entirely new rendering engine to the mix—one that designers producing HTML email will not be able to ignore. Not only that, but this new rendering engine isn't any better than that which Outlook previously used—indeed, it's far worse. With this release, Outlook drops from being one of the best clients for HTML email support to the level of Lotus Notes and Eudora, which, in the words of Campaign Monitor's David Grenier, "are serial killers making our email design lives hell." Why on earth would Microsoft do such a thing? Security? Microsoft has been shouting from the rooftops about the new security model in Internet Explorer 7 that prevents the nasty security issues that have plagued Outlook in the past. It seems Microsoft doesn't buy its own publicity, however, because this move sends the message that Internet Explorer's security model is not to be trusted. Where to from here? Well, as a first step, you'll want to use Microsoft's handy-dandy tool to tell you which parts of your lean, mean HTML emails need to be replaced with old-fashioned HTML sludge. As a second step, you may want to consider giving your Outlook-based readers an easy way to switch to text-only email. Bring on PDF email. I'm ready.
How Do You Take On More Projects With Limited Resources?
Outsourcing Web Projects: 6 Steps to a Smarter Business What a better way to kick off 2007 - with the goal of scaling your business! Learn how draft effective RFPs, get the best rates from your partners and deliver projects on-time and on-budget using outsourced resources. Click here for a free preview of David Hecker's Outsourcing Book
More on the New Microsoft.comFollowing my dissection and critique of the new microsoft.com last issue, I received a lot of feedback via email. Some of it asked questions about the technical points that I glossed over a little, while others added thoughtful commentary to my review. Unobtrusive ScriptingMatt Campbell had a question about the "unobtrusive scripting techniques" that Microsoft should have used:
In short, just as using external CSS files lets you separate your
content from your presentation code with benefits in maintainability,
accessibility, and file sizes, unobtrusive scripting means keeping all of
your JavaScript code in external A good SitePoint article that covers this is Script Smarter: Quality JavaScript from Scratch. Redundant Alt Text
Another item I pointed out in my critique was that Microsoft had
included in the
The purpose of the In this case, the image in question is a padlock that serves to highlight the nearby text link, "December security updates." Microsoft decided to link the padlock image to the same destination, as users who saw the image would reasonably see it as representing the destination of that link. So far, so good.
But let's think about how a user who doesn't see images would experience
the page. With the image not displayed, is there any information missing?
No, because the padlock was purely decorative. At most, it could be argued
that the image gave added weight to the link, and if you wanted to preserve
that weight you could set the
Scott's point is well taken, however, that if you simply set the
In fact, this is a symptom of a separate problem, which is that Microsoft included two links to the same destination—one around the image and one around the text headline—instead of just using a single link around both the image and the text. This redundancy may not affect users of visual browsers, but screen reader users will certainly wonder why there are two adjacent links to the same destination. Presentational Class NamesA number of readers, including Steve Owen and Dan Butcher, wrote in to ask about presentational CSS class names, my critique of which was admittedly terse:
My objection to this kind of code is fairly straightforward. One of the benefits of CSS is that it allows you to separate the presentation of your web site from its content. If you want to change the look of your site, using CSS will help ensure that the changes you need to make to your HTML code are kept to a minimum.
All that goes out the window, however, if you continue to write HTML
code that describes the appearance of your page. Why bother setting the
alignment of a piece of text in your CSS code if the associated HTML code
is just going to say
Instead, write HTML code (including class names) that describes the
meaning of your content (e.g. The Root of the ProblemAnd finally, from .NET developer Rick Mason:
Thanks for the message, Rick!
It's a new year—onwards and upwards, I say. See you in two weeks for the next issue, with 100% less Microsoft bashing!
Kevin Yank
Help Your Friends OutPeople you care about can benefit from the wealth of information on new and maturing technologies available on the Internet. Help them learn how to do it by forwarding them this issue of the SitePoint Tech Times! |
Download free chapters from every SitePoint Book!
The Definitive Guide to Web Character Encoding
What is character encoding? And which form of encoding should you use? Displaying humble text online has its challenges, but as Tommy explains, good character encoding practice takes no more than a little diplomacy in the form of some forethought, and consideration for your users and their systems. His definitive guide makes essential reading for anyone preparing content for the Web.
Daily Links
Blog: .NET
Blog: Web Developer Quiz Blog: Usability Blog:
|
|
Manage Your Subscription Here.
SitePoint Pty. Ltd. Thanks for reading! |
|
|
© SitePoint 1998-2007. All Rights Reserved.
|
|
Design, coding, community or marketing? Select the right newsletters right for your needs...