<?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/"
	xmlns:coop="http://www.google.com/coop/namespace"
	>

<channel>
	<title>Manish Verma &#187; bug</title>
	<atom:link href="http://manishlive.com/tag/bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://manishlive.com</link>
	<description>Freelance Web Developer</description>
	<lastBuildDate>Thu, 02 Sep 2010 14:08:17 +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>Internet Explorer Z-Index Bug</title>
		<link>http://manishlive.com/internet-explorer-z-index-bug/</link>
		<comments>http://manishlive.com/internet-explorer-z-index-bug/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 13:23:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://manishlive.com/?p=134</guid>
		<description><![CDATA[Problem : If you are working on hover menus with sub-menus &#38; under it there is an image. When you hover menu &#38; expanded sub-menus hide behind image as both div&#8217;s are positioned well with the right z-index property. In Internet Explorer positioned elements generate a new stacking context, starting with a z-index value of]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fmanishlive.com%2Finternet-explorer-z-index-bug%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fmanishlive.com%2Finternet-explorer-z-index-bug%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p style="text-align: justify;"><strong>Problem :</strong><br />
If you are working on hover menus with sub-menus &amp; under it there is an image. When you hover menu &amp; expanded sub-menus hide behind image as both div&#8217;s are positioned well with the right z-index property.</p>
<p style="text-align: justify;">In Internet Explorer positioned elements generate a new stacking context, starting with a z-index value of 0. Therefore z-index doesn’t work correctly.</p>
<p style="text-align: justify;"><strong>Fix :</strong><br />
To fix this bug, Give parent div a higher z-index value</p>
<pre class="brush: xml;">
&lt;div style=&quot;z-index: 3000&quot;&gt;
    &lt;div style=&quot;position:absolute;z-index:1000;&quot;&gt;
	&lt;a href=&quot;#&quot;&gt;Page&lt;/a&gt;
	        ...
    &lt;/div&gt;
&lt;/div&gt;
&lt;img style=&quot;position:absolute&quot; src=&quot;image.png&quot; /&gt;
</pre>
<div style="float:right;margin:-38px 50px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://manishlive.com/internet-explorer-z-index-bug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
			<coop:keyword><![CDATA[CSS]]></coop:keyword>
		<coop:keyword><![CDATA[Internet Explorer]]></coop:keyword>
		<coop:keyword><![CDATA[bug]]></coop:keyword>
		<coop:keyword><![CDATA[explorer]]></coop:keyword>
		<coop:keyword><![CDATA[internet]]></coop:keyword>
		<coop:keyword><![CDATA[z-index]]></coop:keyword>
	</item>
	</channel>
</rss>
