<?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>Expressing IT &#187; IE7</title>
	<atom:link href="http://developer.expressionz.in/blogs/tag/ie7/feed/" rel="self" type="application/rss+xml" />
	<link>http://developer.expressionz.in/blogs</link>
	<description>User Interface : just another, but a serious developers weblog</description>
	<lastBuildDate>Tue, 16 Aug 2011 05:23:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>CSS ZOOM &#8211;  Yet Another IE quirk; The 3 pixel shift</title>
		<link>http://developer.expressionz.in/blogs/2009/11/07/css-zoom-yet-another-ie-quirk-the-3-pixel-shift/</link>
		<comments>http://developer.expressionz.in/blogs/2009/11/07/css-zoom-yet-another-ie-quirk-the-3-pixel-shift/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 11:56:27 +0000</pubDate>
		<dc:creator>Nikhil</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE Fixes]]></category>
		<category><![CDATA[IE Issues]]></category>
		<category><![CDATA[IE7]]></category>

		<guid isPermaLink="false">http://developer.expressionz.in/blogs/?p=158</guid>
		<description><![CDATA[  and  so might many of the other  serious web developers have  noticed more than many a times , that when there nested floats in the layout, on hover over some links ( anchor tags) , the containing container seems to shift a few pixels to the right.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F11%2F07%2Fcss-zoom-yet-another-ie-quirk-the-3-pixel-shift%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fdeveloper.expressionz.in%2Fblogs%2F2009%2F11%2F07%2Fcss-zoom-yet-another-ie-quirk-the-3-pixel-shift%2F&amp;source=nikhild&amp;style=normal&amp;hashtags=IE+Fixes,IE+Issues,IE7&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Time and over again, When all the other browsers seen to behave as told by the w3c rules , IE spirals you out of the development spirit by throwing a tantrum,  that doesn&#8217;t seem to have a fix . Just such a one is this issue in IE7.</p>
<p><strong>Problem Statement:</strong><br />
I  and  so might many of the other  serious web developers have  noticed more than many a times , that when there nested floats in the layout, on hover over some links ( anchor tags) , the containing container seems to shift a few pixels to the right.   I have tried to google solutions for this issue , but have  hardly found any reasonable answer to why and when it occurs ( that might help to prevent this issue from happening)  , hence  I  have never found a clear solution to the problem either&#8230;</p>
<p><strong>Possible Solution :</strong><br />
Out of experience , I have notice 90% percent of the times  i.e. ,  that this issue is fixed by adding a zoom property in the CSS definition of the mis-behaving container &#8230; </p>
<pre class=""javascript"">
#somediv {
      zoom: 1 ;
}
</pre>
<p> again the reasons are ambiguous &#8230; try this &#8230;<br />
<em> Some elements in IE have a &#8220;hasLayout&#8221; property , which is &#8220;true&#8221; by default. Many visual CSS behaviors ; for example, an alpha filter only works on an element that hasLayout. and the {Zoom:1} seems to give the target elements the hasLayout property</em>&#8230;. USeful? I dont think so&#8230;</p>
<p>The zoom property is also seems to supported by Chrome , but  its use  dint seem to make much adverse effect on my layout&#8230; try it, If it works for you &#8230; if it doesn&#8217;t,  bookmark this page under &#8220;CSS craps&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://developer.expressionz.in/blogs/2009/11/07/css-zoom-yet-another-ie-quirk-the-3-pixel-shift/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

