<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>Web Site Design by David Rutstein from A to Z</title>
	<link>http://www.webdesignoffice.us/blog</link>
	<description>Sharing our Expertise on the Tricks of the Trade.</description>
	<pubDate>Mon, 22 Oct 2007 09:41:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>
	<language>en</language>
			<item>
		<title>Planning for Access: How You Benefit</title>
		<link>http://www.webdesignoffice.us/blog/archives/115</link>
		<comments>http://www.webdesignoffice.us/blog/archives/115#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:55:56 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/115</guid>
		<description><![CDATA[Access Serves You

Having trotted out the rationale behind many site owners&#8217; sudden interest in accessibility, let me hastily add that fear of lawsuits is the wrong reason to incorporate access into your design practice. These enhancements open any site to new visitors and whose site could not use more visitors? Those locked out of other [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Access Serves You</strong></p>
<p><strong /><br />
Having trotted out the rationale behind many site owners&#8217; sudden interest in accessibility, let me hastily add that fear of lawsuits is the wrong reason to incorporate access into your design practice. These enhancements open any site to new visitors and whose site could not use more visitors? Those locked out of other sites will be inclined to feel quite loyal to yours if you welcome them into it by making these adjustments to your markup.</p>
<p>If other online stores block disabled visitors and nontraditional device users and your store welcomes them, guess who will be selling to those customers, and guess who won&#8217;t be?</p>
<p>And don&#8217;t forget, the more accessible your site is to disabled visitors and nontraditional internet device users, the more available its content will also be to Google, AlltheWeb, and all the other crawler-driven search engines and directories that send visitors your way. Conversely, the less accessible your site, the less traffic it will draw from Google and its brothers.</p>
<p>Zeldman.com, A List Apart, and most sites designed by Happy Cog over the past few years rank highly in search engine results, not because we&#8217;re doing anything fancy, but because these sites are built with access-enhanced semantic markup.<br />
Golly, I was trying to attain higher moral ground, and I still seem to have offered purely self-interested reasons for implementing accessibility.</p>
<p><strong> Here are two more:<br />
</strong><br />
Implementing access enhancements can deepen your understanding of &#8220;design.&#8221; Considering things like tab order can take you beyond a vision of design as the decoration of surface appearance (&#8221;look and feel&#8221;) and into the realms of user experience, contingency design, and general usability. These are issues that web designers, information architects, and usability specialists think about anyway. Accessibility is just another aspect of considering how to best build our sites to meet diverse human needs.</p>
<p>Implementing access and honing a conformance strategy can sharpen your development skills and provide fresh perspectives you might never have considered otherwise. Learning the ways of WAI and the particulars of 508 (or any other legally defined access standard) will increase your value as a professional web designer, position your web agency as smarter and more clued-in than its competitors, and help your sites reach more people than ever before.</p>
<p>That is what every site owner wants and what every designer or developer strives for. Practicing accessibility will help your visitors reach their goals, yes; but it will also help you reach your own.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/115/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>The Law and the Layout</title>
		<link>http://www.webdesignoffice.us/blog/archives/114</link>
		<comments>http://www.webdesignoffice.us/blog/archives/114#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:55:23 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/114</guid>
		<description><![CDATA[Images, CSS, table layouts, JavaScript, and other staples of contemporary web design are entirely compatible with 508 compliance; they simply require a little extra care. As this chapter progresses, we&#8217;ll examine some of what accessibility and Section 508 compliance specifically entails, and we&#8217;ll explore how you can use intelligent judgment and available tools to make [...]]]></description>
			<content:encoded><![CDATA[<p>Images, CSS, table layouts, JavaScript, and other staples of contemporary web design are entirely compatible with 508 compliance; they simply require a little extra care. As this chapter progresses, we&#8217;ll examine some of what accessibility and Section 508 compliance specifically entails, and we&#8217;ll explore how you can use intelligent judgment and available tools to make your sites comply beautifully.<br />
<strong> Tools of the Trade</strong></p>
<p><strong /><br />
If you use a visual editor to create web pages, several tools and plug-ins can simplify conformance with access guidelines:<br />
<strong> • Firefox Web Developer Toolbar</strong><br />
This fabulous, free menu and toolbar for Firefox provides numerous web development tools, many of them ideal for quick accessibility testing. Toggle CSS styles on and off, temporarily disable JavaScript and page colors, and more. Installs in Firefox or Mozilla, on any platform that runs these browsers, including Windows, Linux, and Mac OS X.</p>
<p><strong>• IE&#8217;s Web Accessibility Toolbar</strong><br />
Provided by the Accessible Information Solutions (AIS) team of Vision Australia, this free toolbar (donations welcome) for IE/Windows makes it easy to check for various aspects of accessibility. Toggling CSS styles, replacing elements with their alt attributes, test animated GIF images to determine if they are in a &#8220;flicker rate&#8221; range that can trigger photosensitive epilepsy, and more.</p>
<p><strong>• UsableNet LIFT and Dreamweaver</strong><br />
Mentioned earlier in this chapter, UsableNet&#8217;s LIFT for Dreamweaver offers numerous features in addition to assisting with conformance. LIFT automatically identifies many (though not all) accessibility violations. There are also standalone versions of LIFT.</p>
<p><strong>• Dreamweaver 8</strong><br />
Many of LIFT&#8217;s capabilities have been incorporated in Dreamweaver 8, including a built-in 508 validation checker, a 508 Reference Guide, and tools for adding accessibility features to images, tables, and frames. Remember: No tool catches all problems or offers a fail-safe substitute for your judgment and experience. Like a hammer and nails, tools only help those who know how to use them. Like eggs, milk, and flour&#8230; okay, never mind.<br />
<strong> • Microsoft FrontPage Gets LIFT</strong><br />
UsableNet announced on July 9, 2002, that it had integrated its LIFT product into Microsoft FrontPage, the widely distributed authoring tool:<br />
<a href="http://www.usablenet.com/frontend/onenews.go?news_id=45"><br />
</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/114/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Good Books That I Recently Read</title>
		<link>http://www.webdesignoffice.us/blog/archives/113</link>
		<comments>http://www.webdesignoffice.us/blog/archives/113#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:54:43 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/113</guid>
		<description><![CDATA[Many well-intended accessibility books preach fire and brimstone. The smell of sulfur does not inspire designers. All too frequently, these books contain only visually ugly or completely unrealistic examples of accessible sites, along with impractical advice such as &#8220;never specify type sizes.&#8221; Some authors in the field are hostile to design. Others have no experience [...]]]></description>
			<content:encoded><![CDATA[<p>Many well-intended accessibility books preach fire and brimstone. The smell of sulfur does not inspire designers. All too frequently, these books contain only visually ugly or completely unrealistic examples of accessible sites, along with impractical advice such as &#8220;never specify type sizes.&#8221; Some authors in the field are hostile to design. Others have no experience in developing commercial sites. Designers might come away from these books believing that accessibility is irrelevant.</p>
<p>Other books are well researched and fueled by passionate insight. These are worth the devotee&#8217;s time. But they are not recommended for the general web professional because they are pitched at readers who live with one or more disabilities. In serving that readership, these books spend much time presenting alternate input methods and assessing the merits and demerits of alternative user agents.</p>
<p>Designers are likely to feel alienated if not unconsciously fearful that somehow they too will be afflicted. Fear of blindness, paralysis, and other disabilities partly fuels some designers&#8217; discomfort with the very concept of accessibility, and such books will not help designers shirk that prejudice.</p>
<p><strong> I recommend the following:</strong></p>
<p><strong /><br />
<strong> • Building Accessible Web Sites, by Joe Clark (New Riders: 2002)<br />
</strong><br />
Not merely the best and most complete book yet penned on the subject of web accessibility, Joe Clark&#8217;s Building Accessible Web Sites is also among the most compellingly written web design books ever: witty, opinionated, and truthful. In my strange line of work, I see most new design books and many new computer books.</p>
<p>Few are complete, fewer still are entirely lucid, and with very few indeed do I feel that I am in the hands of a master communicator. I devoured Clark&#8217;s book as if it were the latest Harry Potter novel. Then I read it again. Not only will you learn everything you need to know from this book, but you can actually read it for pleasure.</p>
<p>Building Accessible Web Sites covers it all, from the basics of writing usable alt attributes to the complexities of captioning rich media. Joe Clark, whom the Atlantic Monthly called &#8220;the king of closed captions,&#8221; has spent 20 years in the field of media access, and it shows.</p>
<p>He is uniquely positioned to guide the reader clearly and confidently from the big picture to the smallest detail offering phased accessibility strategies that fit any budgetary or time constraint, and straight talk that clarifies regulations and debunks myths. Moreover, Clark cares as much about design aesthetics as access, and he shows how the two are compatible. As with Eric Meyer on CSS (I recommend this book unreservedly.</p>
<p><strong> • Constructing Accessible Web Sites, various authors (Peer Information, Inc.formerly Glasshaus: 2002</strong>)</p>
<p>Written by multiple subject matter experts including Jim Thatcher, Shawn Lawton Henry (a WAI member and contributor to WCAG), Paul Bohman, and Michael Burks, this task-focused book is like a wonderful compendium of best-of-breed magazine articles, each of which covers in thoroughly researched and practical detail a particular aspect of the access puzzle.</p>
<p>Among other subjects covered, Constructing Accessible Web Sites includes vital material on the limitations of push-button accessibility testing software, discusses feasible methods of implementing accessibility across large enterprises, and provides detailed tips on accessible Flash authoring.</p>
<p>Although it lacks the Clark book&#8217;s advantage of a single, authorial voice, the chorus that Constructing Accessible Web Sites offers instead is compelling in its own right. Both books demand space on the shelf of anyone who designs, builds, owns, or manages websites. Among other benefits, reading these two books will help overturn many mistaken and sadly widespread ideas such as those we are about to discuss.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/113/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>WCAG 1 and 2</title>
		<link>http://www.webdesignoffice.us/blog/archives/112</link>
		<comments>http://www.webdesignoffice.us/blog/archives/112#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:54:07 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/112</guid>
		<description><![CDATA[WCAG 1.0 is a huge leap out of the dark, but it is also an aging specification, and it is not always as clear or as detailed as a standard should be. To clean up the parts that are vague, and to address changes in web development since WCAG 1.0 was new, WAI has developed [...]]]></description>
			<content:encoded><![CDATA[<p>WCAG 1.0 is a huge leap out of the dark, but it is also an aging specification, and it is not always as clear or as detailed as a standard should be. To clean up the parts that are vague, and to address changes in web development since WCAG 1.0 was new, WAI has developed a WCAG 2.0 specification , which is in final review status as this book heads to the printer.<br />
Not everyone loves the results. Days before WCAG 2.0 was set to go from draft to published guideline, accessibility expert Joe Clark argued that &#8220;the fundamentals of WCAG 2 are nearly impossible for a working standards-compliant developer to understand,&#8221; and recommended that accessibility experts fix the errata in WCAG 1 instead . As I write this, I can&#8217;t say whether WCAG 2.x will eventually incorporate any of Clark&#8217;s recommended changes.</p>
<p>Likewise, I don&#8217;t know if WCAG 2.0 will gain wide acceptance or if designers, developers, and bureaucrats worldwide will stick with WCAG 1.0. This chapter will concern itself with general principles of accessibility and with specifics of WCAG 1.0 and U.S. Section 508 (with occasional dollops of the WCAG 2.0 draft).<br />
WCAG 1.0 offers three standardized levels of access, from the readily achieved (Priority 1), to one that requires slightly more work (Priority 2), to a master level (Priority 3). WCAG 2.0 also offers three levels.</p>
<p>The point of the three levels is that accessibility, like the other forms of standards compliance discussed in this book, is a continuum rather than an &#8220;all or nothing&#8221; affair. Your first CSS site might have imperfect semantics and might even use a table or two as a layout container, but you would at least be trying. Likewise, with a small and reasonable effort, any of useven those who are new to accessibility can attain Priority 1 conformance or something close to it.</p>
<p>In so doing, we&#8217;ll begin making our sites available to many of those whom we had previously locked out.  In this chapter, we will cut through some of the confusion, dismiss cobweb-coated myths that befuddle many otherwise sophisticated web professionals, and provide a practical overview of common-sense, applied accessibility. We&#8217;ll also discuss tools that can help you incorporate accessibility into your design practice and point out the limitations of those tools.</p>
<p>No chapter can cover web accessibility in its entirety. Indeed, few whole books really get at the heart of the thing, even when accessibility is their stated subject. Some books on the topic contribute to designers&#8217; confusion about or hostility toward access. Two books, however, do focus on accessibility in a designer-friendly way, and I&#8217;ll commend them to your attention in a moment.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/112/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Initial Problems with Keyword Implementations</title>
		<link>http://www.webdesignoffice.us/blog/archives/111</link>
		<comments>http://www.webdesignoffice.us/blog/archives/111#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:50:19 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/111</guid>
		<description><![CDATA[The seven font-size keywords might have been implemented correctly and uniformly, but they were not. Unfortunately, the keywords were ineptly or incorrectly implemented in the first browsers that attempted to support them, although in one case they were correctly implemented with results so bad they actually caused a subsequent version of the CSS standard to [...]]]></description>
			<content:encoded><![CDATA[<p>The seven font-size keywords might have been implemented correctly and uniformly, but they were not. Unfortunately, the keywords were ineptly or incorrectly implemented in the first browsers that attempted to support them, although in one case they were correctly implemented with results so bad they actually caused a subsequent version of the CSS standard to change.</p>
<p>(Netscape 4.5 rendered xx-small at six pixels three pixels below the threshold of legibility because Netscape&#8217;s engineers were following the W3C&#8217;s initial recommendation that each size be 1.5 times larger than the size below it. The W3C changed its recommendation to a gentler scaling value of 1.2 after seeing what Netscape had done.)<br />
The Keyword Flub in IE/Windows.</p>
<p>Meanwhile, IE4/Windows, IE5/Windows, and even IE5.5/Windows got keywords wrong in a different way. In these browsers, there is a logical disconnection between the keyword and the way it is rendered. Small is medium, medium is larger than normal, and so on. How the heck did something that weird happen?</p>
<p>The engineers who developed IE for Windows were trying to do the right thing. Remember the seven <font> tags of Netscape, mentioned in the beginning of this chapter?  The IE developers mapped the seven CSS keywords directly to the seven Netscape font sizes. In many ways, it was a logical thing to do. Let&#8217;s give the team some credit for trying to support keywords in a way that would make sense to designers who had cut their teeth on Netscape font-size hacks.</p>
<p>The problem, of course, is that the sizes do not map to the keywords. In old-school browsers, is the default or medium size that the user has specified in her preferences. In Netscape&#8217;s extended HTML markup, is assumed unless you specify another size. Logically, a default size should map to the medium CSS keyword. Unfortunately, in the original IE/Windows scheme, maps to small instead of medium because small is the third size up from the bottom of the list.</p>
<p><strong> Progress Happens, but Usage Eludes<br />
</strong><br />
Eventually, IE5/Macintosh, Netscape 6+, Mozilla, and IE6 got font-size keywords right. But by the time that happened, millions were using IE5 and Netscape 4, which got keywords wrong. If designers used CSS keywords as intended, the display would be off in IE4-5/Windows (and, less importantly, it would also be off in Netscape 4). If designers deliberately misused keywords to make the display look right in IE4-5/Windows, the display would be off in all other browsers and in later versions of IE/Windows. What could designers do? What most of us did was consider CSS font-size keywords to be just another option that didn&#8217;t work.</font></p>
<p><font><strong>The Keyword Comes of Age: The Fahrner Method</strong><br />
You can read the evolution and details of Todd&#8217;s method in A List Apart&#8217;s &#8220;Size Matters&#8221; .</font></p>
<p><font> It works like this:<br />
• Because 4.0 browsers don&#8217;t understand @import, they ignore the imported style sheet containing CSS rules they would only bungle. Let 4.0 browser users see text in the size they choose as their default, or if necessary, serve them pixel values in a linked external style sheet.</p>
<p>• Use the Box Model Hack to serve false font-size keyword values to IE5.x/Windows and correct values to more compliant browsers, just as we used it to serve false and true margin, padding, and content-area values to differently enabled browsers.</p>
<p>• Add a CSS rule with greater specificity to protect Opera from one of its bugs. (See the &#8220;Be Kind to Opera&#8221; rule in a discussion of the Box Model Hack.)</font>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/111/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>The Trouble with Pixels</title>
		<link>http://www.webdesignoffice.us/blog/archives/110</link>
		<comments>http://www.webdesignoffice.us/blog/archives/110#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:49:31 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/110</guid>
		<description><![CDATA[The trouble with pixels has been discussed earlier in this book and chapter and mainly comes down to this: In IE/Windows, users cannot resize text set in pixels. If you&#8217;ve used 9px type for your site&#8217;s body text, many visitors will click their browser&#8217;s Back button faster than you can say squint.
Even 11px type might [...]]]></description>
			<content:encoded><![CDATA[<p>The trouble with pixels has been discussed earlier in this book and chapter and mainly comes down to this: In IE/Windows, users cannot resize text set in pixels. If you&#8217;ve used 9px type for your site&#8217;s body text, many visitors will click their browser&#8217;s Back button faster than you can say squint.</p>
<p>Even 11px type might be too small for some, depending on the font chosen (11px Verdana and Georgia get fewer complaints than 11px Times, for instance), the monitor size and resolution, the visitor&#8217;s eyesight, the degree of foreground/background contrast, and the presence or absence of distracting backgrounds. To a person who has less than 20/20 vision, the problem might be annoying. To one who is seriously visually impaired, it might be far worse than that.</p>
<p>There is also the occasional CAD engineer who likes to surf the web on his 4000 x 3000 32&#8243; workstation monitor and pepper web design mailing lists with angry letters about flyspeck-sized text. If he actually wished to solve his problem, he could use a browser that supported Text Zoom or Page Zoom. If he preferred to use IE/Windows, he could switch on its option to ignore font sizes. He could even write a user style sheet like this one: html, body {font-size: 1em !important;}</p>
<p>But he would rather complain about his problem than solve it in any of these ways, because for him this whole thing is a religious issue. (He also complains that the magazines he subscribes to are filled with inane coverage of celebrities and their marital problems. And he dislikes peanuts, yet he keeps eating them.) As a designer, you are responsible for your users&#8217; problemseven this guy&#8217;s.</p>
<p><strong> The Font-Size Keyword Method</strong><br />
Little known and scarcely ever used, CSS1 (and later, CSS2) offered seven font-size keywords intended to control text sizes without the absolutism of pixels or the inheritance, cross-platform, and user option hazards of ems and percentages. The seven keywords appear next, and their meaning will be obvious to anyone who has ever bought a T-shirt :<br />
xx-small</p>
<p>x-small</p>
<p>small</p>
<p>medium</p>
<p>large</p>
<p>x-large</p>
<p>xx-large</p>
<p><strong> Why Keywords May Beat Them and the Percentages<br />
</strong><br />
As mentioned earlier, when you use ems or percentages, there is always the danger that their values will multiply, resulting in text that is too small or too large. By contrast, keyword values do not compound even when the elements nest.</p>
<p>If  is small, is small, and is small, and p lives inside div, which lives inside body, the three small values do not compound (as ems and percentages do), and the result is still legible. Moreover, the result is still small (not x-small or xx-small). Ems and percentages compound. Keyword values do not compound.</p>
<div>
In addition, at least in Gecko and modern IE browsers, xx-small can never be smaller than 9px, which means it can never be illegible. 9px text might be hard for some users to read, of course, but that is not the same thing as illegibility.</p>
<p>Like ems, keywords are based on the user&#8217;s default font size. Unlike ems, keywords never descend below the threshold of adequate resolution. If the user&#8217;s default size happened to be 10px (unlikely, but possible), x-small would be 9px and xx-small would also be 9px. Obviously, in such a case, you would lose the size difference between x-small and xx-small. But you wouldn&#8217;t lose your readers.</p>
<p>Sounds perfect, doesn&#8217;t it? We get to specify sizes without smacking up against IE/Windows&#8217; inability to resize pixels, and also without inflicting illegibly teeny type on any visitor. Font-size keywords seem to balance accessibility with the designer&#8217;s need for control. So what could go wrong? One word: browsers.</div>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/110/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>The Smallest Unit: It&#8217;s Absolutely Relative</title>
		<link>http://www.webdesignoffice.us/blog/archives/109</link>
		<comments>http://www.webdesignoffice.us/blog/archives/109#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:49:05 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/109</guid>
		<description><![CDATA[At a resolution of 1200 x 870, a single pixel looks hefty on a 22&#8243; monitor and petite on a 17&#8243; one. CSS considers the pixel a relative unit because monitors and resolutions vary. This is true. It is also true that 10px is 10px, from one corner of a screen to any other corner [...]]]></description>
			<content:encoded><![CDATA[<p>At a resolution of 1200 x 870, a single pixel looks hefty on a 22&#8243; monitor and petite on a 17&#8243; one. CSS considers the pixel a relative unit because monitors and resolutions vary. This is true. It is also true that 10px is 10px, from one corner of a screen to any other corner of that screen, and from one screen to the next. The pixel is always the smallest unit of a given screen, making it the atom of new-media design. Most designers and most users thus think of the pixel as an absolute unit. Unlike most other units, the pixel is familiar to all web users regardless of their level of sophistication. They know the pixel from years of watching TV.</p>
<p>If the CSS standard views pixels abstractly (remember that &#8220;average length of the web user&#8217;s arm&#8221; business), the makers of most browsers do not. They understand the pixel unit the way the rest of us understand it: as the smallest dot on the screen.<br />
Thus, virtually all browsers, from the superb to the barely passable, support pixels the same way, and if you use px to specify your font sizes, you (and your users) will see what you expect in nearly every browser and on nearly every platform. As with any rule, there are exceptions: one sophisticated and vaguely troubling, and the other dumb and negligible.</p>
<p><strong> When Pixels Fail in Opera</strong><br />
Some versions of the Opera browser consistently deliver smaller sizes than those specified. For example, if you specify 11px text, Opera 5 for Macintosh shows something closer to 10px. Håkon (pronounced How-come or Hokum) Lie (pronounced Lee) is Opera&#8217;s chief technical officer. He is also the father of CSS, to whom most designers with a lick of sense are grateful.</p>
<p>Some argued that Opera&#8217;s subsize handling of pixel values in its 5.0 browser for Macintosh was based on the &#8220;average arm length&#8221; abstraction. But it was just a bug.<br />
When Pixels Fail in Netscape 4 Point Something or Other<br />
Some versions of Netscape 4 also get pixel values wrong. In one or two incremental upgrades on one or two platforms, the old warhorse sometimes forgets how to interpret pixel units, as Grandfather sometimes forgets our names. Don&#8217;t ask me which versions of Netscape 4 get pixels wrong. Is it 4.73 for Linux/UNIX? Is it 4.79 for Windows 98? Who cares? Most versions of Netscape 4 get pixels right, even if they get practically everything else wrong.</p>
<p>This rare Netscape 4 pixel snafu has no basis in abstract theoretical concerns. It is simply a bugone that users can avoid by upgrading to the next incremental version of the ancient relic, or preferably to a browser released in this century. Some users won&#8217;t do it. One of them might be your boss or your client. If beating them about the head and shoulders with the nearest heavy object fails to enlighten them as to the benefits of a standards-compliant browser, start looking for a new job. (After beating your boss about the head and shoulders, you&#8217;ll have to look for a new job anyway. What were you thinking?)
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/109/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Standard Sizes and Best Practices</title>
		<link>http://www.webdesignoffice.us/blog/archives/108</link>
		<comments>http://www.webdesignoffice.us/blog/archives/108#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:48:40 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/108</guid>
		<description><![CDATA[Back then, several browser makers who will go nameless (like Apple) deliberately departed from the new 16px/96ppi standard on the grounds that big, horsey text was ugly. Since most users never change the default font size, if ems or percentages were used to size text, different users would see different sizes, upsetting persnickety clients and [...]]]></description>
			<content:encoded><![CDATA[<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">Back then, several browser makers who will go nameless (like Apple) deliberately departed from the new 16px/96ppi standard on the grounds that big, horsey text was ugly. Since most users never change the default font size, if ems or percentages were used to size text, different users would see different sizes, upsetting persnickety clients and control-freak designers alike. Plus, certain old browsers I see no need to ridicule by name (including Netscape 4, IE<sub>5</sub>, and Opera 6) botched nested percentages and ems more often than they displayed them correctly.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Courier New" color="#0000ff"><!--adsense--></font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">Given these problems, pixels appeared preferable to ems and percentages. But if you used pixels to guarantee that all users initially saw the same size text relative to their screen resolution, the text size would not scale in IE/Windows, thus creating legibility and accessibility problems for millions.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">I begged all browser makers to support the standard sizeand today they do. I also (here and behind the scenes, for years) begged Microsoft to let users of IE for Windows scale text set in pixels. One out of two ain&#8217;t bad.</font></p>
<h3 style="margin: 12pt 0in 3pt"><font face="Arial">A Passion for Pixels</font></h3>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">Alone among all CSS values, with a few exceptions to be discussed next, the humble pixel (px) unit works in browsers old and new, compliant and noncompliant, on any platform you care to name. 13px is 13px whether viewed in Windows, Mac OS, or Linux/UNIX. Set your text in pixels, and it will look the same in any browser or on any platform.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">The benefits are not limited to fonts. Images are created in pixels. If our product shot is 200px x 200px and we use CSS to specify a left margin of 100px, we know that the size relationship of picture to margin will be 2:1, and we also know that all users will see this size relationship. Size-based relationships are a key component of grid- and rules-based designs.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">For crisp layouts, pixels are a natural. If we say that our headline text is 25px tall, that our left margin is 100px, and that our body text is 11px, all users will see the same thing, although the real-world <span class="docemphasis">size</span> of what they see will depend on their PC&#8217;s resolution and their monitor&#8217;s dimensions.</font></p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/108/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>Working with Browsers Part II: Box Models, Bugs, and Workarounds</title>
		<link>http://www.webdesignoffice.us/blog/archives/107</link>
		<comments>http://www.webdesignoffice.us/blog/archives/107#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:47:35 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/107</guid>
		<description><![CDATA[&#8220;Create once, publish everywhere&#8221; is the Grail of standards-based design and development. We don&#8217;t learn proper XHTML authoring to win a gold star. We do it so that our sites will work in desktop browsers, text browsers, screen readers, and handheld devicestoday, tomorrow, and 10 years from now. Likewise, we don&#8217;t use CSS exclusively for [...]]]></description>
			<content:encoded><![CDATA[<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">&#8220;Create once, publish everywhere&#8221; is the Grail of standards-based design and development. We don&#8217;t learn proper XHTML authoring to win a gold star. We do it so that our sites will work in desktop browsers, text browsers, screen readers, and handheld devicestoday, tomorrow, and 10 years from now. Likewise, we don&#8217;t use CSS exclusively for short-term rewards like reducing bandwidth to save on this month&#8217;s server costs. We do it primarily to ensure that our sites will look the same in Internet Explorer 14.0 as they do today and that unneeded presentational markup won&#8217;t impede user experience in non-CSS environments. To save breath and time, I have labeled this raison d&#8217;être of standards-based design &#8220;forward compatibility.&#8221; (I have labeled my underwear &#8220;Jeffrey,&#8221; but for a different reason.)</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">Standards-compliant user agents make forward compatibility possible. If the web were still viewed mainly in Netscape and Microsoft&#8217;s 4.0 browsers, forward compatibility would be unattainable by all but the most rudimentary sites. If the leading user agents that succeeded 4.0 browsers had continued to promote proprietary technologies at the expense of baseline standards, the web&#8217;s future as an open platform </font><a name="iddle2344" /><a name="iddle1975" /><a name="iddle1861" /><a name="iddle1395" /><a name="iddle1312" /><a name="iddle1205" /><a name="iddle1180" /><a name="iddle1162" /><font face="Times New Roman" size="3">would be open to doubt. Thankfully, all leading and many niche browsers released within the past few years can justifiably be called &#8220;standards-compliant.&#8221; But some are more compliant than others. Coping with compliance hiccups is what this chapter is about.</font></p>
<h3 style="margin: 12pt 0in 3pt"><font face="Arial">Flash and QuickTime: Objects of Desire?</font></h3>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">Many of us embed multimedia objects such as Flash and QuickTime movies in our sites. There is no standards-compliant way of doing so that works reliably across multiple browsers and platforms. To understand how this can be, I must tell a tale of hubris and vengeance as floridly melodramatic as anything in Shakespeare or Italian opera. Well, okay, not quite that melodramatic, but close.</font></p>
<h4 style="margin: 12pt 0in 3pt"><a name="ch12lev2sec7" /><font face="Times New Roman" size="5">Embeddable Objects: A Tale of Hubris and Revenge</font></h4>
<p class="doctext" style="margin: auto 0in"><a name="iddle2327" /><a name="iddle2216" /><a name="iddle1960" /><a name="iddle1764" /><a name="iddle1533" /><font face="Times New Roman" size="3">When the creators of the original Mosaic and Netscape browsers first seized on the brilliant idea of allowing designers to include images in web pages, they &#8220;extended&#8221; HTML by creating an </font><tt><span style="font-size: 10pt"><img /></span></tt><font face="Times New Roman" size="3"> tag specifically for their browsers. The W3C did not approve. It advised web authors to use the </font><tt><span style="font-size: 10pt">object</span></tt><font face="Times New Roman" size="3"> element instead. But millions of websites later, the </font><tt><span style="font-size: 10pt"><img /></span></tt><font face="Times New Roman" size="3"> tag was still going strongand support for the W3C&#8217;s </font><tt><span style="font-size: 10pt"><object></object></span></tt><font face="Times New Roman" size="3"> element was nonexistent.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">Then came the FutureSplash plug-in (later rechristened Flash) along with other multimedia elements such as Real and QuickTime movies. Again, the W3C suggested that the </font><tt><span style="font-size: 10pt"><object></object></span></tt><font face="Times New Roman" size="3"> tag be used to embed such content in web pages. But Netscape invented the </font><tt><span style="font-size: 10pt"><embed></embed></span></tt><font face="Times New Roman" size="3"> tag insteadand as competitive browsers came onto the scene, they too supported Netscape&#8217;s </font><tt><span style="font-size: 10pt"><embed></embed></span></tt><font face="Times New Roman" size="3"> tag.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">In the view of Netscape and Microsoft, their customers expected the web to function as a rich multimedia space, and it was up to browser makers to fulfill that desire through innovationnot coincidentally gaining market share in the process.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">In the view of the W3C, browser makers were creating their own tags and ignoring perfectly good (standard) specifications. And what was the point of creating useful, open specifications if W3C member companies paid them no heed? In the years to come, the W3C would wreak a bloody double vengeance on those who had ignored its beautiful standards.</font></p>
<p class="doctext" style="margin: auto 0in"><font face="Times New Roman" size="3">(Okay, okay, they didn&#8217;t wreak a bloody double vengeance or anything of the kind. They simply did what their charter told them to do: established markup standards that made sense. But it&#8217;s more fun to tell it this way.)</font></p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/107/feed/</wfw:commentRSS>
		</item>
		<item>
		<title>The Double Vengeance of W3C</title>
		<link>http://www.webdesignoffice.us/blog/archives/106</link>
		<comments>http://www.webdesignoffice.us/blog/archives/106#comments</comments>
		<pubDate>Tue, 12 Sep 2006 08:47:31 +0000</pubDate>
		<dc:creator>David Rutstein</dc:creator>
		
	<category>Web design</category>
		<guid isPermaLink="false">http://www.webdesignoffice.us/blog/archives/106</guid>
		<description><![CDATA[The W3C&#8217;s first act of revenge was to avoid including the
tag in any official HTML specification, in spite of the fact that hundreds of thousands of designers were using it on millions of sites.  was not included in HTML 3.2. It was not added to HTML 4 or to HTML 4.01, whose sole purpose [...]]]></description>
			<content:encoded><![CDATA[<p>The W3C&#8217;s first act of revenge was to avoid including the</p>
<p>tag in any official HTML specification, in spite of the fact that hundreds of thousands of designers were using it on millions of sites.  was not included in HTML 3.2. It was not added to HTML 4 or to HTML 4.01, whose sole purpose was to include commonly used tags that had been left out of HTML 4. And because XHTML 1.0 was based on HTML 4.01,  was not part of XHTML, either. Therefore, any site that used  could not and still cannot validate as HTML or XHTML.<br />
That is correct. You read that right. Millions of sites that embed multimedia cannot validate against a W3C spec because the W3C never deigned to recognize the</p>
<p>element.<br />
A Standard Size at Last<br />
In an effort to transcend platform differences, the makers of Netscape and Microsoft&#8217;s browsers and Mozilla put their heads together in late 1999 and decided to standardize on a default font-size setting of 16px/96ppi across platforms. By putting all platforms on the same page, as it were, browser makers and users could avoid the problems of cross-platform size differences and cruelly useless, illegible text.<br />
The 16px/96ppi Font-Size Standard<br />
On a W3C mailing list in 1998, the plucky Todd Fahrner puckishly proposed standardizing on a 16px default per Windows usage. His recommendation was adopted by all leading browser makers in the year 2000. Although Fahrner&#8217;s concerns were practical in nature (he wanted to ensure that type could be read online), in the quotation that follows, he refers to something that might strike you as bizarre.<br />
The framers of CSS1 were bound to a pet abstraction wherein the &#8220;average&#8221; length of a web user&#8217;s arm was essential to defining the size of a pixel. No, really. Anyway, in advancing his idea about a standardized cross-platform font size, Fahrner was careful to cover the all-important arm&#8217;s length issue along with more pedestrian matters like usability. He wrote:<br />
Since before Mosaic, the default font-size value in all major browsers has been set at 12pt. I propose redefining the default as 16px…. The current default of 12pt rasterizes very differently across platforms. On Macs, it rasterizes into 12px (logical res fixed at 72ppi). On Wintel PCs, it rasterizes by default into 16px (logical res defaults to 96ppi). …All scalable font-size values… operate relative to this inconsistent base rasterization. For a designer, this means that the only way to suggest a [consistent cross-platform] font size is to use CSS pixel units, which are not user-scalable, and are thus not optimally user-friendly/portable…<br />
The appropriate corrective measure… is for Mac (and X11?) browsers to break with tradition and ship with the default value of &#8220;medium&#8221; text set at 16px, instead of 12pt. This should of course remain subject to user adjustment, but a consistent initial value will at least make the use of scalable font-size values less problematic for designers, as any variance from the default will be due to express user preference rather than capricious legacy OS differences.<br />
If designers tend to believe that 16px is too large as a base, why suggest it as the default?<br />
One reason is pure expediency. The Mac is a smallish minority platform, though very strongly represented in the web design field. (I use a Mac!) It is unrealistic to expect that Windows/X11 browsers will change their defaults to match the Mac&#8217;s rather quaint limitation to 72ppi logical resolution.<br />
The 1996 CSS1 standard suggests a 1/90&#8243; value for a &#8220;reference pixel,&#8221; extrapolated from a visual angle of 0.0227 degrees visual angle at arm&#8217;s length. [User agents] are expected to scale pixels appropriately if the physical resolution is known to vary significantly from this value. A 1/90&#8243; reference pixel would suggest a rasterization of 12pt into 15px, rather than 16. 15 is, of course, much closer to 16 than to 12, however. Because no OS/UA currently assumes a 90ppi logical resolution (nor implements pixel-scaling) … the reference pixel value should be amended to 1/96&#8243;.<br />
It&#8217;s simple to preserve the suggested 0.0227 degrees visual angle by giving the reference user a longer arm&#8217;s length.<br />
Designers think that 16px is too large simply because they are used to the 12px base size of their Macs. Readability is 9/10ths familiarity.<br />
Two years later, the first generation of significantly standards-compliant browsers embraced Fahrner&#8217;s recommendation. In Internet Explorer, Netscape, and Mozilla, on both the Windows and Macintosh platforms, the default text size became 16px/96ppi, and increased legibility was enjoyed throughout the globe (except when some users changed it back).<br />
Fahrner&#8217;s efforts eventually led the W3C to agree to a standard reference pixel size related to the 16px/96ppi concept, as seen in the CSS 2.1 working draft. In the excerpt that follows, you&#8217;ll note that the W3C remains quite concerned about the average length of a reader&#8217;s arm. We should be grateful they&#8217;re only talking about the length of an arm:<br />
It is recommended that the reference pixel be the visual angle of one pixel on a device with a pixel density of 96dpi and a distance from the reader of an arm&#8217;s length. For a nominal arm&#8217;s length of 28 inches, the visual angle is therefore about 0.0213 degrees. (CSS 2.1 Working Draft, )<br />
While the standard reference pixel would seem to clear the way for a W3C standard user default size, the two are not officially related. The W3C has spoken to the first issue, but not to the second.<br />
Netscape 6+, Mozilla, IE5+/Macintosh, and IE/Windows offered all users the same default font-size setting. As long as the user did not change her preferences, points, ems, percentages, and font-size keywords would work the same way across platforms and no user would be needlessly hurt because of a designer or developer&#8217;s ignorance about platform differences. There were still bugs and inheritance problems in some browsers&#8217; implementation of percentages and ems (more about those problems a few pages later), but the primary hurdle had been cleared.<br />
Alas, browser makers don&#8217;t explain why they do what they do, and web users don&#8217;t study design issues (and why would they?). The benefit of a standard size temporarily evaporated as some users (and many designers) missed the point literally.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.webdesignoffice.us/blog/archives/106/feed/</wfw:commentRSS>
		</item>
	</channel>
</rss>
