<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>IE7 Bug</title><link>http://weblogs.asp.net/marksmith/archive/2008/01/11/ie7-bug.aspx</link><description>Today I found a strange bug in IE7. If you have an unordered list, and you specifically give a height to each li element, the numbers reset themselves so each number ends up being "1"! Try this out! &amp;lt;! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>re: IE7 Bug</title><link>http://weblogs.asp.net/marksmith/archive/2008/01/11/ie7-bug.aspx#7048311</link><pubDate>Thu, 16 Apr 2009 18:49:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7048311</guid><dc:creator>CET</dc:creator><author>CET</author><description>&lt;p&gt;I&amp;#39;m glad I found this site. &amp;nbsp;I just discovered this bug on a site that I&amp;#39;m an hour from delivering to a client.&lt;/p&gt;
&lt;p&gt;Fortunately, the style &amp;quot;display:list-item;&amp;quot; worked, but not completely. &amp;nbsp;The numbers were at the bottom of each list item, so I also had to tell it to &amp;quot;vertical-align:top;&amp;quot;.&lt;/p&gt;
&lt;p&gt;Now my IE only style looks like this:&lt;/p&gt;
&lt;p&gt;ol li {&lt;/p&gt;
&lt;p&gt;display:list-item;&lt;/p&gt;
&lt;p&gt;vertical-align:top;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Add these items to all the other IE only items I routinely add to my style sheets, and I can&amp;#39;t believe how much hacky code I have to write to accomodate all of IE&amp;#39;s bugs.&lt;/p&gt;
&lt;p&gt;Thanks again MS! *shakes fist*&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7048311" width="1" height="1"&gt;</description></item><item><title>Curioso bug en Internet Explorer 7 | aNieto2K</title><link>http://weblogs.asp.net/marksmith/archive/2008/01/11/ie7-bug.aspx#6340155</link><pubDate>Mon, 30 Jun 2008 13:17:14 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6340155</guid><dc:creator>Curioso bug en Internet Explorer 7 | aNieto2K</dc:creator><author>Curioso bug en Internet Explorer 7 | aNieto2K</author><description>&lt;p&gt;Pingback from &amp;nbsp;Curioso bug en Internet Explorer 7 | aNieto2K&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6340155" width="1" height="1"&gt;</description></item><item><title>re: IE7 Bug</title><link>http://weblogs.asp.net/marksmith/archive/2008/01/11/ie7-bug.aspx#5651030</link><pubDate>Fri, 25 Jan 2008 17:14:39 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5651030</guid><dc:creator>Paul</dc:creator><author>Paul</author><description>&lt;p&gt;Same problem when you set the width of a LI, but the Raj&amp;#39;s hack fixes that as well.&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5651030" width="1" height="1"&gt;</description></item><item><title>re: IE7 Bug</title><link>http://weblogs.asp.net/marksmith/archive/2008/01/11/ie7-bug.aspx#5595625</link><pubDate>Sat, 12 Jan 2008 19:27:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5595625</guid><dc:creator>Mark Smith</dc:creator><author>Mark Smith</author><description>&lt;p&gt;Thanks Raj,&lt;/p&gt;
&lt;p&gt;I&amp;#39;d actually used a workaround of using line-height instead of height.&lt;/p&gt;
&lt;p&gt;My problem with it, is that it&amp;#39;s a bug that shouldn&amp;#39;t exist (it happens in IE6 as well).&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5595625" width="1" height="1"&gt;</description></item><item><title>re: IE7 Bug</title><link>http://weblogs.asp.net/marksmith/archive/2008/01/11/ie7-bug.aspx#5590539</link><pubDate>Fri, 11 Jan 2008 20:11:53 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5590539</guid><dc:creator>rajbk</dc:creator><author>rajbk</author><description>&lt;p&gt;Use this as a work around&lt;/p&gt;
&lt;p&gt;ol li {&lt;/p&gt;
&lt;p&gt; &amp;nbsp; display:list-item;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; height:40px;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Raj Kaimal&lt;/p&gt;
&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5590539" width="1" height="1"&gt;</description></item></channel></rss>