<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jon M. Zuck &#187; CSS</title>
	<atom:link href="http://wildwebweaving.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://wildwebweaving.com</link>
	<description>a celebration of languages, writing, and the Web</description>
	<lastBuildDate>Tue, 22 Jun 2010 18:55:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Row-based designs</title>
		<link>http://wildwebweaving.com/2009/01/13/row-based-designs/</link>
		<comments>http://wildwebweaving.com/2009/01/13/row-based-designs/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 18:26:14 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/2009/01/13/row-based-designs/</guid>
		<description><![CDATA[I wrote an article for the new online Web design magazine, 13things, entitled &#8220;Horizontal Flow: The Magic of Row-Based Design.&#8221; In it, I examine what the effect of column-based design has been, advantages of using rows to recapture the organizational effects of the grid that were largely lost when we abandoned table-based layouts, and some [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote an article for the new online Web design magazine, <a title="13things.net" href="http://13things.net/">13things</a>, entitled &#8220;<a href="http://13things.net/articles/horizontal-flow/">Horizontal Flow: The Magic of Row-Based Design.</a>&#8221; In it, I examine what the effect of column-based design has been, advantages of using rows to recapture the organizational effects of the grid that were largely lost when we abandoned table-based layouts, and some novel ways of ordering content into rows. Hope you enjoy it.</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2009/01/13/row-based-designs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Naked Day!</title>
		<link>http://wildwebweaving.com/2008/04/09/css-naked-day/</link>
		<comments>http://wildwebweaving.com/2008/04/09/css-naked-day/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 13:58:38 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS Naked Day]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/2008/04/09/css-naked-day/</guid>
		<description><![CDATA[In honor of CSS Naked Day, styles have temporarily been disabled. They&#8217;ll return tomorrow, April 10th, in the meantime, give a moment&#8217;s thought to how much CSS adds to the web.]]></description>
			<content:encoded><![CDATA[<p>In honor of <a href="http://naked.dustindiaz.com/" title="CSS Naked Day website">CSS Naked Day</a>, styles have temporarily been disabled. They&#8217;ll return tomorrow, April 10th, in the meantime, give a moment&#8217;s thought to how much CSS adds to the web.</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2008/04/09/css-naked-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser Hell, 2008</title>
		<link>http://wildwebweaving.com/2008/04/08/browser-hell-2008/</link>
		<comments>http://wildwebweaving.com/2008/04/08/browser-hell-2008/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 19:52:03 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[cell phones]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Web standards]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/2008/04/08/browser-hell-2008/</guid>
		<description><![CDATA[This is a presentation I gave to the Web Standards and Usability Users Group meeting on April 8. The title is way too pessimistic. I should&#8217;ve changed it to &#8220;Browser Purgatory,&#8221; but that doesn&#8217;t really have the same je ne sais quoi pas.]]></description>
			<content:encoded><![CDATA[<p>This is a <a href="http://wsuug.org/presentation-files/wsuug-browserhell.pdf">presentation</a> I gave to the <a href="http://wsuug.org" title="Web Standards and Usability Users Group">Web Standards and Usability Users Group</a> meeting on April 8.  The title is way too pessimistic.  I should&#8217;ve changed it to &#8220;Browser Purgatory,&#8221; but that doesn&#8217;t really have the same <em lang="fr">je ne sais quoi pas</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2008/04/08/browser-hell-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thank you, to the IE 8 team</title>
		<link>http://wildwebweaving.com/2008/03/05/thank-you-to-the-ie-8-team/</link>
		<comments>http://wildwebweaving.com/2008/03/05/thank-you-to-the-ie-8-team/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 20:22:03 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/2008/03/05/thank-you-to-the-ie-8-team/</guid>
		<description><![CDATA[To anyone involved in designing with CSS and semantic HTML to support Web standards, Internet Explorer has been the constant thorn in our side. IE5, IE 5.5, IE6, and IE7 have been the seemingly endless source of a Microsoft-generated ocean of frustration: deviant box model DOCTYPE switching no min- or max- widths or heights no [...]]]></description>
			<content:encoded><![CDATA[<p>To anyone involved in designing with CSS and semantic HTML to support Web standards, Internet Explorer has been the constant thorn in our side. IE5, IE 5.5, IE6, and IE7 have been the seemingly endless source of a Microsoft-generated ocean of frustration:</p>
<ul>
<li>deviant box model</li>
<li>DOCTYPE switching</li>
<li>no min- or max- widths or heights</li>
<li>no variable-opacity PNG support</li>
<li>no SVG support</li>
<li>inability to serve XHTML as application/XML</li>
</ul>
<p>and the sad list could go on. Many of these faults have been addressed and corrected, but increased support has been incremental, over the last six or seven years. However, earlier this year, Microsoft announced that IE 8 passed the Acid 2 test, an important demonstration of supporting most key CSS properties. Yesterday, they made that good news quite a bit sweeter, by announcing that the <a href="http://www.zeldman.com/2008/03/04/microsoft-reverses-version-targeting-default/" title="Zeldman.com IE8 default rendering">default rendering mode for IE8</a> will be with their highest support of standards, which reversed a previous plan requiring designers to include special code in their pages to trigger IE8&#8242;s standards rendering mode.</p>
<p>See also Microsoft&#8217;s <a href="http://www.microsoft.com/presspass/press/2008/mar08/03-03WebStandards.mspx" title="Microsoft.com Announcement">announcement</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2008/03/05/thank-you-to-the-ie-8-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orange Blindfold Strikes Again: Safari for Windows</title>
		<link>http://wildwebweaving.com/2007/07/14/underwhelmed-safari-for-windows/</link>
		<comments>http://wildwebweaving.com/2007/07/14/underwhelmed-safari-for-windows/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 01:37:15 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/2007/07/14/underwhelmed-safari-for-windows/</guid>
		<description><![CDATA[Safari for Windows? I had to try it. Safari is a superb browser, although most Mac&#8217;ers of my acquaintance prefer Firefox for the Mac. On their download page, Apple touts the many advantages of Safari for Windows, although most of them are advantages only over the rapidly diminishing Internet Explorer 6. However, the top of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://wildwebweaving.com/wp/wp-content/uploads/safariwindows.jpg" class="floatleft" alt="Acid2 Test on Safari for Windows" style="width: 200px" /><a href="http://www.apple.com/safari/" class="ext">Safari for Windows?</a> I had to try it. Safari is a superb browser, although most Mac&#8217;ers of my acquaintance prefer <a href="http://www.mozilla.com/en-US/firefox/all.html" title="Firefox versions">Firefox </a>for the Mac.</p>
<p>On their download page, Apple touts the many advantages of Safari for Windows, although most of them are advantages only over the rapidly diminishing Internet Explorer 6.  However, the top of the list promised that Safari would be, hands-down, the fastest browser. Well, it is. It&#8217;s amazingly fast. It also handles Flash exceptionally well. I tested it on some very Flash-intensive sites, e.g. <a href="http://marinewebservices.com">marinewebservices.com</a> and <a href="http://truckwebservices.com">truckwebservices.com</a>, and pages flew in, particularly when compared to Firefox, which seems to struggle with Flash in large quantities. (<a href="https://addons.mozilla.org/en-US/firefox/addon/433">Flashblock </a>is one of my favorite Firefox extensions.)</p>
<p>But the speed comes at a cost. Windows Safari&#8217;s CSS rendering is a shambles compared to its brother on the Mac. Positioned <code>div</code>s overlap each other unpredictably. <a href="http://www.cssplay.co.uk/menu/photo_simple">CSS-based slideshows</a> don&#8217;t work. I was curious how it would perform on the <a href="http://www.webstandards.org/files/acid2/test.html">Acid2 Test</a>, since Safari for Mac earned well-deserved fame for being the first to pass it. As you can see from the screenshot, it rendered the test image slightly better than Firefox 2, but not by much. Something is clearly wrong with Safari.</p>
<p>I might make a more detailed inventory sometime, but for now, all I can say is another broken browser is not what Windows needs.</p>
<p>C&#8217;mon Apple. Keep doing what you do best&#8230; iTunes, iPod, iPhone, and &#8230; what&#8217;s that computer you specialize in? Oh yeah, the Mac. Nice job, that.</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2007/07/14/underwhelmed-safari-for-windows/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Rethinking the &#8220;Universal White Space Reset&#8221;</title>
		<link>http://wildwebweaving.com/2007/07/12/universal-white-space-reset/</link>
		<comments>http://wildwebweaving.com/2007/07/12/universal-white-space-reset/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 11:59:43 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/?p=3</guid>
		<description><![CDATA[You know it, you use it, you love it. I don&#8217;t remember who first came up with the &#8220;universal white space reset,&#8221; but it&#8217;s been around for years now, and it&#8217;s advantages are plain to see. Just start off your stylesheet with: * {margin: 0; padding: 0;} and bam! suddenly you, not the browser manufacturers, [...]]]></description>
			<content:encoded><![CDATA[<p>You know it, you use it, you love it. I don&#8217;t remember who first came up with the &#8220;universal white space reset,&#8221; but it&#8217;s been around for years now, and it&#8217;s advantages are plain to see.</p>
<p>Just start off your stylesheet with:</p>
<blockquote><p> <code>* {margin: 0; padding: 0;}</code></p></blockquote>
<p>and bam! suddenly you, not the browser manufacturers, are in control of the &#8220;white space&#8221; of every element. No worrying about differing bottom margins on headings, paragraphs, or anything else, for that matter.</p>
<p>So what&#8217;s the problem? In a word, the universal whitespace reset is <em>dumb</em>.  It&#8217;s not necessarily a dumb thing to do—I simply mean that it lacks the intelligence to see when it should be applied and when it shouldn&#8217;t. I first encountered a problem with it when I was using on a dynamic site that retrieved large amounts of inventory items. I found that these inventory search results were consistently crashing in Internet Explorer (go figure), but it stopped crashing when I removed the universal whitespace reset from the stylesheet.</p>
<p>What was happening was  <em>every </em>element, every <code>em, i, b,</code> every <code>table, tr, td,</code> every <code>img, div,</code> and <code>p,</code> was being checked for the presence of dreaded padding or margin, and IE was being crushed by the task. (Sometimes you&#8217;ve got to feel sorry for Internet Explorer.)</p>
<p>Another disadvantage is that in any environment where non-coders might be editing pages to any extent&#8230; (e.g. clients via a CMS) some of the most familiar and intuitive means of working with tables become unpredictable. For instance, in both Firefox and IE, the cellpadding attribute becomes useless. In standards-friendly browsers such as Firefox, the &#8220;align&#8221; attribute stops working when the value is &#8220;center.&#8221; (Yes, it centers via equal margins, but with the universal white space reset, you, my friend, have wiped out those margins.) CSS declarations, even with very low precedence levels in the cascade, override HTML attributes.</p>
<p>Since the whitespace properties of margin and padding don&#8217;t even occur in most inline elements, it doesn&#8217;t really make sense to have the browsers check them on every page, now, does it?</p>
<p>Here&#8217;s my proposed solution to creating a level playing field regarding whitespace  concerns:</p>
<blockquote><p> <code>address, blockquote, p, div,<br />
form, iframe, select, textarea,<br />
h1, h2, h3, h4, h5, h6,<br />
dl, ol, ul, li, dt, dd<br />
{margin:0; padding:0;}</code></p></blockquote>
<p>This deals with all of the major elements most likely to create whitespace problems, without squandering browser resources or disabling HTML attributes. You may also be interested in <a href="http://meyerweb.com/eric/thoughts/2007/04/14/reworked-reset/" class="ext">Eric Meyer&#8217;s solution</a>, although his reset stylesheet deals with many tags that are unlikely to have padding or margin presets in browser stylesheets. He also goes for a complete font-weight/font-style reset—as for myself, I can live with the fact that browsers give bold text for headings and italics for <code>cite</code>. I&#8217;ll restyle those assumptions when I feel the need to. Also, if one limits the reset to matters of margin and padding only, it seems to make sense to me to include form elements.  What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2007/07/12/universal-white-space-reset/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>liquid images in liquid layouts</title>
		<link>http://wildwebweaving.com/2004/08/10/liquid-images-in-liquid-layouts/</link>
		<comments>http://wildwebweaving.com/2004/08/10/liquid-images-in-liquid-layouts/#comments</comments>
		<pubDate>Tue, 10 Aug 2004 22:33:29 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Design]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/?p=5</guid>
		<description><![CDATA[Tuesday August 10, 2004 Although on this particular site I use a fixed-width layout, I’m a huge fan of liquid layouts, as you can see at A1 ProCoat and frimmin.com. The common arrangement of a 640- or 800-pixel-wide fixed-pixel presentation floating in the middle (or worse, slapped against the left side of the window) of [...]]]></description>
			<content:encoded><![CDATA[<p>Tuesday August 10, 2004</p>
<p>Although on this particular site I use a fixed-width layout, I’m a huge fan of liquid layouts, as you can see at <a href="http://a1procoat.com">A1 ProCoat</a> and <a href="http://frimmin.com">frimmin.com</a>. The common arrangement of a 640- or 800-pixel-wide fixed-pixel presentation floating in the middle (or worse, slapped against the left side of the window) of an 1200- or 1600- pixel-wide screen works for many situations (as for this site), but they have disadvantages as well.  Web pages <strong>flow</strong>. <span class="caps">W3C </span>specifications speak of the <em>flow</em> of the page on the screen, but too many designers <span class="caps">IMHO, </span>don’t understand that the Web really <em>isn’t </em>print, and use pixel-perfect designs to try to translate a print message to the screen. Some problems I’ve noticed with these designs are:</p>
<ul>
<li>An absurd amount of wasted screen space; This will only get worse as monitor resolutions get bigger and bigger. I recently tested my personal site (all liquid) on a 2560-pixel-wide Mac monitor, maximized (or as close to maximized as Mac allows). It looked just as good as at 800px.</li>
<li>Frequently, inaccessible text which can not be resized, which is amazing when you consider how many of these sites are in micro text!  I propose every site should be tested by its designers for readability after 24 hrs. without sleep. (That would give some incentive to make the text scalable!)</li>
<li>Frequently, an inability to think in semantic (X)HTML. (Great, you optimized it for a soon-to-be-obsolete monitor resolution, but what about the Palm? Or the cellphone? The Braille reader or text reader?)</li>
</ul>
<p>Liquid layouts avoid these problems. They adapt to any size screen, they’re more conducive to thinking in terms of document flow rather than print positioning, and they simply “let the Web be the Web.” I can only speak for myself, but I think other designers who are comfortable using  liquid layouts are probably also more comfortable thinking in semantic (X)HTML, and basic accessibility. Furthermore, they <em>encourage</em> users to resize, which is a great habit for users to get into, as they are the ones who ultimately know what’s “too big,” “too small,” or “too long” for themselves.</p>
<p>But there are disadvantages with liquid vis-a-vis fixed:</p>
<ul>
<li>Line lengths can become too long for extensive reading. (Easily remedied by resizing the browser window.)</li>
<li>The huge screen resolutions available today, a layout stretched too wide can reveal “holes” or gaps where background images end. However, this can be worked around by using background colors in conjunction with background images, and making sure that the images used blend into the background colors.&lt;”/li&gt;</li>
<li>A more serious difficulty is that images can break the layout when the window is made <em>smaller</em>.</li>
</ul>
<p>Richard Rutter of <a href="http://clagnut.com" class="ext">clagnut.com »</a> has done some fascinating work that solves the latter problem. I like <a href="http://www.clagnut.com/sandbox/imagetest/" class="ext">his solution »</a> of using percentage widths (with max-width set to actual width) for small and medium images, and overflow:hidden for wide images.</p>
<p>I’ve extensively used this technique on my personal website, <a href="http://frimmin.com/">The Wild Things of God</a>.</p>
<p><span class="caps">NN4 </span>will choke on a page where there is inline style on images, but this problem is rapidly becoming irrelevant as that browser fades from use.</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2004/08/10/liquid-images-in-liquid-layouts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Squashing the IE bug from hell</title>
		<link>http://wildwebweaving.com/2004/06/30/squashing-the-ie-bug-from-hell/</link>
		<comments>http://wildwebweaving.com/2004/06/30/squashing-the-ie-bug-from-hell/#comments</comments>
		<pubDate>Thu, 01 Jul 2004 00:13:22 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://wildwebweaving.com/?p=4</guid>
		<description><![CDATA[I just solved the strangest Internet Explorer CSS bug I’ve encountered to date. Everything looked great in Mozilla, Netscape 7, Safari, and Opera. I had a smart, two-column layout I’d adapted from layouts by CSS geniuses Alex Robinson» and Mark Newhouse». As long as the browser window was maximized, everything was fine. But when it [...]]]></description>
			<content:encoded><![CDATA[<p>I just solved the strangest Internet Explorer <span class="caps">CSS </span>bug I’ve encountered to date.  Everything looked great in Mozilla, Netscape 7, Safari, and Opera. I had a smart, two-column layout I’d adapted from layouts by <span class="caps">CSS </span>geniuses <a href="http://www.fu2k.org/alex/css/" class="ext">Alex Robinson»</a> and <a href="http://www.realworldstyle.com/" class="ext">Mark Newhouse»</a>.  As long as the browser window was maximized, everything was fine. But when it was resized in <span class="caps">IE, </span>there were a number of points, usually only a few pixels wide, where the content column simply dropped below the level of the sidebar—completely off the screen. I shuddered to realize that if a viewer happened to have his window sized to any of these “magic” widths (which seemed almost random) they wouldn’t see any content at all, just a header and a menu!</p>
<p>So it began. I searched everything I could for information on this bug, from <span class="caps">CSS </span>books, to my favorite <span class="caps">CSS </span>sites, to Google searches with every combination of keywords I could think of. Nothing! Nothing I had read could account for this.  I tested other stylesheets in my preferred layout. Some broke, some didn’t, and the ones which broke, broke in different places!</p>
<p>So my layout wasn’t buggy, but by now, I was going buggy! At least I could concentrate my search for the bug in the styles rather than the structure. The worst one was the Forest stylesheet (which is the default index page on my personal site.) I had noticed from the beginning that the problem was worse the smaller the window became—the “magic” points were closer together. Finally, I realized it was related to word-wrapping in some hyperlinked movie titles in my most recent post. I tried using Microsoft’s “word-wrap” property, which helped nothing. At odd points, when these italicized hyperlinked words wrapped down to the next line, the content <span class="caps">DIV </span>would fall away. Italicized words. (I may be one of the few designers who actually uses the recommended <span class="caps">CITE </span>tag for titles, and <span class="caps">CITE </span>renders as italics by default.) Not expecting anything, I typed “IE <span class="caps">CSS </span>bugs italics,” and found</p>
<p><a href="http://positioniseverything.net/explorer/italicbug-ie.html">the page that explained everything»</a>.</p>
<p><strong>Italics!</strong><em> How could the bug be italics?</em> Every word processor in the last 20 years has handled italics. as has every Web browser from Netscape 1 on.  How could Internet Explorer 6 mangle them? (Answer: it mangles them effectively as it mangles many things.) Sarcasm aside, IE panics when calcuting width for italics in boxes that are beside floats. This is a nefarious problem that seems to be almost unknown compared to, say, the Box-Model bug. Nefarious, because when can you guarantee that your client will not need italic text, maybe a <span class="caps">LOT </span>of italic text, whether it’s an extended quote, a long title, or an emphasized sentence? Understanding this potential layout-destroyer should be as well understood as float bugs and box-model bugs.</p>
<p>There <em>is </em>a fix, and it’s not as simple as styling <span class="caps">CITE </span>and EM as “<strong>font-style:oblique</strong>,” (which doesn’t work, in case you were wondering, the bug affects anything with a slanted type). Bruno Fassino explains all that is known about it at this time on a page at the Position is Everything page. My very brief explanation of the fix, which follows, is no substitute for his lucid work, but I think more pages explaining this are desperately needed.</p>
<p>The key is to add styles to the lowest-level block element which contains the italic text. This will almost always be either a P, <span class="caps">DL, UL, OL, BLOCKQUOTE, </span>or <span class="caps">DIV </span>tag. Often it’s a direct parent, but sometimes, as in the case of my <span class="caps">CITE </span>tags within A tags, the  lowest-level block is a grand-parent or higher. The styles must be visible only to Internet Explorer for Windows, and not only that, but there are two mutually exclusive  stylings needed, one set for IE Win 5.5+, and another for IE Win 5.0.</p>
<p>IE 5.0 Win must make the width of the containing block 100%, and give it the overflow:hidden style. IE 5.5+ Win must give it an auto-sized width, a minimal height, and visible overflow. The stylesheet snippet below hides it from all non-IEWin browsers, and feeds the corrected styles to the proper versions of IE rather painlessly. For details, see <a href="http://positioniseverything.net/explorer/italicbug-ie.html">IE and Italics Problem»</a> at Position is Everything.net.</p>
<pre><code>
/* \*/
* html p, * html dl, * html ul,
* html ol, * html blockquote, * html div {
         overflow: hidden;
	 overflow: visible;
	 width: 100%;
	 width: auto;
	 height: 1%;   }
/* */</code></pre>
<p>An alternate solution would be to use IE Win’s conditional comments in the <span class="caps">HTML.</span> Peter Paul Koch at <a href="http://www.quirksmode.org/">Quirksmode»</a> makes an excellent case for using conditional comments rather than parser hacks.  I sometimes use them, but sometimes prefer to put them in the stylesheets—they don’t mix well with stylesheet switchers, for instance.</p>
]]></content:encoded>
			<wfw:commentRss>http://wildwebweaving.com/2004/06/30/squashing-the-ie-bug-from-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
