<?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>Antanova Ltd. &#187; ie7</title>
	<atom:link href="http://antanova.com/tags/ie7/feed" rel="self" type="application/rss+xml" />
	<link>http://antanova.com</link>
	<description>We make excellent websites</description>
	<lastBuildDate>Thu, 15 Sep 2011 21:23:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>IE7 width and min-width bug</title>
		<link>http://antanova.com/blog/css/ie7-width-and-min-width-bug</link>
		<comments>http://antanova.com/blog/css/ie7-width-and-min-width-bug#comments</comments>
		<pubDate>Tue, 29 Jan 2008 17:29:00 +0000</pubDate>
		<dc:creator>Jason C</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[ie7]]></category>

		<guid isPermaLink="false">http://antanova.wordpress.com/2008/01/29/ie7-width-and-min-width-bug/</guid>
		<description><![CDATA[After a day of plenty of swearing, I seem to have found something out that I think I should have known about before. I’m posting in the hope it will help out some other hapless web developer and prevent some nasty monitor-forehead interfacing. For some reason, I know not why, after making a small change [...]]]></description>
			<content:encoded><![CDATA[<p>After a day of plenty of swearing, I seem to have found something out that I think I should have known about before. I’m posting in the hope it will help out some other hapless web developer and prevent some nasty monitor-forehead interfacing.</p>
<p>For some reason, I know not why, after making a small change to an html page, IE7 stopped picking up some percentage widths (for floated elements). After a lot of swearing, I found out that sometimes, to even pick up a width, IE7 needs <em>both</em> a min-width and width. As I was using percentages that was not a hassle &#8211; so for example the rule</p>
<pre><code>float:left; width: 25.5%;
</code></pre>
<p>was having no effect: the width of the element was shrinking down to the width of its content, while on IE6, Opera, Safari and Firefox everything was fine. Adding a min-width thus</p>
<pre><code>float:left; width:25.5%; min-width:25.5%;
</code></pre>
<p>Sorted everything out. So now everything’s hunky dory. I’m sure most of you will have known about this and I’m quite surprised I haven’t come across it before. That’s part of the joy of the job, I suppose: after the frustration comes the satisfaction of learning something new and solving a problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://antanova.com/blog/css/ie7-width-and-min-width-bug/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

