<?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>electronet &#187; CSS</title>
	<atom:link href="http://www.electronet.com.au/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.electronet.com.au</link>
	<description>where electrons go for a good time</description>
	<lastBuildDate>Mon, 08 Mar 2010 01:32:17 +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>Fixing the zoom:1; IE fix?</title>
		<link>http://www.electronet.com.au/2009/06/is-zoom1-the-answer-to-our-prayers/</link>
		<comments>http://www.electronet.com.au/2009/06/is-zoom1-the-answer-to-our-prayers/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 05:04:53 +0000</pubDate>
		<dc:creator>Todd Baker</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ie]]></category>

		<guid isPermaLink="false">http://www.electronet.com.au.temp.backend.com/?p=3</guid>
		<description><![CDATA[Much has been written about the "magical fix" that *{zoom:1; } has on IE6 and IE7. By using this to force hasLayout onto IE a lot of the display issues we are used to are fixed easily.

BUT.. as I've just discovered... it can also create some of its own problems.]]></description>
			<content:encoded><![CDATA[<p>Much has been <a title="Ben Nadel's Blog" href="http://www.bennadel.com/blog/1354-The-Power-Of-ZOOM-Fixing-CSS-Issues-In-Internet-Explorer.htm">written</a> about the &#8220;magical fix&#8221; that *{zoom:1; } has on IE6 and IE7. By using this to force hasLayout onto IE a lot of the display issues we are used to are fixed easily.</p>
<p>BUT.. as i&#8217;ve just discovered&#8230; it can also create some of its own problems.</p>
<p>I had an issue reffered to me where IE6 was rendering some text way out of alignment, it seemed like a float clearing problem but clearing didnt have any affect. So I removed the zoom declaration and and that removed the problem, but restored a bunch of other problems the initial zoom:1; had fixed.</p>
<p>So, I had to find a way to reset the zoom property and the answer is &#8220;normal&#8221;. I also has to use * to apply it to ALL items in that box.</p>
<textarea cols="40" rows="10" name="code" class="Css">#container *{
zoom:normal !important
}</textarea>
	<!-- Wordpress Code Snippet -->
	<script type="text/javascript" src="http://www.electronet.com.au/wp-content/plugins/wordpress-code-snippet/js/shCore.js"></script><script type="text/javascript" src="http://www.electronet.com.au/wp-content/plugins/wordpress-code-snippet/js/shBrushCss.js"></script>
	<link type="text/css" rel="stylesheet" href="http://www.electronet.com.au/wp-content/plugins/wordpress-code-snippet/css/SyntaxHighlighter.css"/>
	
	<script language="javascript">
	dp.SyntaxHighlighter.ClipboardSwf = 'http://www.electronet.com.au/wp-content/plugins/wordpress-code-snippet/js/clipboard.swf';
	dp.SyntaxHighlighter.HighlightAll('code');
	</script>
	<!-- End Wordpress Code Snippet -->
	]]></content:encoded>
			<wfw:commentRss>http://www.electronet.com.au/2009/06/is-zoom1-the-answer-to-our-prayers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
