<?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>Lacy Garrison &#187; Bugs</title>
	<atom:link href="http://www.blog.lacygarrison.com/tag/bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.lacygarrison.com</link>
	<description></description>
	<lastBuildDate>Wed, 22 Sep 2010 17:41:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>IE6 &amp; IE7 Bug: LI Tag with Extra Space</title>
		<link>http://www.blog.lacygarrison.com/2009/10/20/ie6-li-with-extra-space/</link>
		<comments>http://www.blog.lacygarrison.com/2009/10/20/ie6-li-with-extra-space/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 23:27:33 +0000</pubDate>
		<dc:creator>Lacy Garrison</dc:creator>
				<category><![CDATA[Bugs]]></category>

		<guid isPermaLink="false">http://www.blog.lacygarrison.com/?p=39</guid>
		<description><![CDATA[I have been working on a redesign of a website for Equinox.com for a few months now. I recently started coding the redesigned site from scratch. In the process, I have been addressing a lot of cross-browser issues. The code needs to support IE6, IE7, IE8, FF3, and Safari 3. Today, I finally addressed a [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a redesign of a website for Equinox.com for a few months now. I recently started coding the redesigned site from scratch. In the process, I have been addressing a lot of cross-browser issues. The code needs to support IE6, IE7, IE8, FF3, and Safari 3.</p>
<p>Today, I finally addressed a bug that had been bothering me for a few days. In IE8, FF3, and Safari 3, the site looks pretty much like this:</p>
<p><img class="alignnone size-medium wp-image-43" title="4" src="http://www.blog.lacygarrison.com/wp-content/uploads/2009/10/4-439x233.png" alt="4" width="439" height="233" /></p>
<p>Beautiful, right?</p>
<p>Well, the calendar is a &lt;ul&gt; with an &lt;li&gt; for each day. IE6 and IE7 were adding this extra space under each &lt;li&gt; tags.</p>
<p><img class="alignnone size-medium wp-image-40" title="1" src="http://www.blog.lacygarrison.com/wp-content/uploads/2009/10/1-439x233.png" alt="4" width="439" height="233" /></p>
<p>I changed the background color of the calendar block from black to red to highlight the extra space in this image:</p>
<p><img class="alignnone size-medium wp-image-41" title="2" src="http://www.blog.lacygarrison.com/wp-content/uploads/2009/10/2-439x233.png" alt="4" width="439" height="233" /></p>
<p>That extra red space was driving me nuts. After doing a few searches, I wasn&#8217;t able to find any information or fixes relating to my problem. After experimenting with some different CSS rules, I found changing the display attribute of the &lt;li&gt; to &#8220;inline&#8221; provided a nice solution. Here&#8217;s a quick code sketch:</p>
<blockquote><p>div.calendar ul li {</p>
<p style="padding-left: 30px;">display: inline;</p>
<p>}</p></blockquote>
<p>This allows IE6 &amp; IE7 to render the HTML the same as IE8, FF3, and Safari 3.</p>
<p><img class="alignnone size-medium wp-image-40" title="1" src="http://www.blog.lacygarrison.com/wp-content/uploads/2009/10/4-439x233.png" alt="4" width="439" height="233" /></p>
<p>This fix apparently doesn&#8217;t work in all instances. I found a similar bug, but the above fix didn&#8217;t have an effect.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.blog.lacygarrison.com/2009/10/20/ie6-li-with-extra-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

