<?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>Bricks and Clicks: A blog by Montreal-based Web Marketing Consultant, Rommil Santiago &#187; Bug</title>
	<atom:link href="http://www.rommil.com/blog/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rommil.com/blog</link>
	<description>Web consultant, Rommil Santiago, on web marketing and management.</description>
	<lastBuildDate>Thu, 17 Jun 2010 01:58:28 +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>Essential CSS: Relative font-sizing and IE6&#8242;s Text Size feature</title>
		<link>http://www.rommil.com/blog/2009/01/11/essential-css-relative-font-sizing-and-ie6s-text-size-feature/</link>
		<comments>http://www.rommil.com/blog/2009/01/11/essential-css-relative-font-sizing-and-ie6s-text-size-feature/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 14:07:03 +0000</pubDate>
		<dc:creator>Rommil Santiago</dc:creator>
				<category><![CDATA[CSS/Design]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Font-size]]></category>
		<category><![CDATA[IE6]]></category>

		<guid isPermaLink="false">http://www.rommil.com/blog/?p=347</guid>
		<description><![CDATA[By no means am I a CSS ninja, I&#8217;m not even a CSS guru, but what I am is a guy with a few years under my belt spent designing, developing and analyzing web sites. While working at Concordia University, I&#8217;ve had the&#8230; &#8220;privilege&#8221; of seeing a wide variety (X)HTML and CSS bugs. Here&#8217;s one [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_350" class="wp-caption alignright" style="width: 370px"><img class="size-full wp-image-350" title="typeface" src="http://www.rommil.com/blog/wp-content/uploads/2009/01/typeface.jpg" alt="How I wish IE6 would go away..." width="360" height="239" /><p class="wp-caption-text">How I wish IE6 would go the way of movable type</p></div>
<p>By no means am I a <a href="http://www.rommil.com/blog/2009/01/02/job-tip-think-twice-before-proclaiming-yourself-a-ninja/">CSS ninja</a>, I&#8217;m not even a CSS guru, but what I am is a guy with <a href="http://www.rommil.com/about/resume/">a few years under my belt</a> spent designing, developing and analyzing web sites. While working at <a href="http://www.concordia.ca">Concordia University</a>, I&#8217;ve had the&#8230; &#8220;privilege&#8221; of seeing a wide variety (X)HTML and CSS bugs. Here&#8217;s one bug that stole a day&#8217;s worth of work from me that I wanted to share:</p>
<p>In Internet Explorer 6, if the font-size of the body is set to 1em, the Text Size feature (shown below) when set to sizes other than medium, makes the fonts laughably out of proportion. If you are also having this problem&#8230;</p>
<p><span id="more-347"></span></p>
<div id="attachment_369" class="wp-caption alignright" style="width: 319px"><img class="size-full wp-image-369" title="ie6textsize" src="http://www.rommil.com/blog/wp-content/uploads/2009/01/ie6textsize.gif" alt="ie6textsize" width="309" height="248" /><p class="wp-caption-text">How to set the Text Size in IE6</p></div>
<p><strong>Good news</strong>: IE6 is on the decline and its use, at least according to Concordia&#8217;s web statistics, appears to finally be on the verge of dropping below 15%. If you wait long enough, you can ignore this bug altogether!</p>
<p><strong>Bad news</strong>: at least 15% still use it, and if you&#8217;re like me, 15% is still a sizable amount of traffic to disappoint, so, the plan of just telling people to use Firefox or Safari is pretty much out the window.</p>
<p>So you don&#8217;t have to waste a day of <em>your </em>life debugging, I dug up solutions from <a href="http://fiercestreetnetworks.com/web-design-tips-tricks/xhtml/xhtml.php">Fierce Street Networks</a> and The <a href="http://www.christianmontoya.com/2007/02/01/css-techniques-i-use-all-the-time/">Montoya Herald</a>.</p>
<p>Typically the root cause for this strange behaviour in IE6 is a body style set somewhere in the CSS like this:</p>
<pre>body{
     font-size:1em;
}</pre>
<p>All you have to do is declare the base font-size as follows:</p>
<pre>body{
     font-size:<strong>100.01%</strong>;
}</pre>
<p>That&#8217;s it that&#8217;s all.</p>
<p>The only things to remember are:</p>
<ul>
<li>Avoid setting the percentage lower than 100.01% (for cross-browser considerations, you can blame Opera for its odd rendering of fonts).</li>
<li>No matter what percentage you set, tack on the 0.01% at the end (to not markedly alter the desired font-size, namely in Safari).</li>
</ul>
<p>So for example, 110.01% is fine, 99.01% is not. Personally, I suggest you stick to the 100.01% setting. I&#8217;ve used sizes other than 100.01% with success, but your results may vary. As for the rest of the font-sizes on the page, feel free to use <em>em </em>or <em>percentages</em>, whichever you prefer. From my experience, neither one breaks this fix.</p>
<p>If you have a better solution for this IE6 oddity, do <strong>let me know</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rommil.com/blog/2009/01/11/essential-css-relative-font-sizing-and-ie6s-text-size-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
