<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: A Detailed Look at the z-index CSS Property</title>
	<atom:link href="http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/</link>
	<description>Web Design Articles &#38; Tutorials. To make the web impressive.</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:16:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: ylva</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-6782</link>
		<dc:creator>ylva</dc:creator>
		<pubDate>Fri, 03 Sep 2010 14:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-6782</guid>
		<description>Thanks for your link and comment, Stefan! At last solved my problem with my z-indexes.. :)</description>
		<content:encoded><![CDATA[<p>Thanks for your link and comment, Stefan! At last solved my problem with my z-indexes.. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TerryH</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-6145</link>
		<dc:creator>TerryH</dc:creator>
		<pubDate>Wed, 28 Jul 2010 15:51:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-6145</guid>
		<description>Everything is positioned. None of the jqueries I tried have done anything to affect the z-index. IE is the best example of my page working as far as being able to mouseover and see the whole content for that page. Funny because I hear everyone saying IE doesnt work. Its the only one that does. I can only assume that z-index works differently for Firefox, chrome, safari.... I find a bunch of code but no one ever show a practical example. The examples always are typically written to display something but not to adapt and use anywhere but the example. Which makes it harder to utilize.
Thank for responding</description>
		<content:encoded><![CDATA[<p>Everything is positioned. None of the jqueries I tried have done anything to affect the z-index. IE is the best example of my page working as far as being able to mouseover and see the whole content for that page. Funny because I hear everyone saying IE doesnt work. Its the only one that does. I can only assume that z-index works differently for Firefox, chrome, safari&#8230;. I find a bunch of code but no one ever show a practical example. The examples always are typically written to display something but not to adapt and use anywhere but the example. Which makes it harder to utilize.<br />
Thank for responding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis Lazaris</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-6142</link>
		<dc:creator>Louis Lazaris</dc:creator>
		<pubDate>Wed, 28 Jul 2010 13:43:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-6142</guid>
		<description>When you set the z-index via jQuery, you might also need to set the &quot;position&quot; to &quot;relative&quot;, to ensure the z-index takes effect.

In fact, you have to set the position to &quot;relative&quot; for all the elements that are overlaying each other. So, it&#039;s probably best to do that in the CSS. Other than that, I&#039;m not sure how else to help you.</description>
		<content:encoded><![CDATA[<p>When you set the z-index via jQuery, you might also need to set the &#8220;position&#8221; to &#8220;relative&#8221;, to ensure the z-index takes effect.</p>
<p>In fact, you have to set the position to &#8220;relative&#8221; for all the elements that are overlaying each other. So, it&#8217;s probably best to do that in the CSS. Other than that, I&#8217;m not sure how else to help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: terryh</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-6125</link>
		<dc:creator>terryh</dc:creator>
		<pubDate>Mon, 26 Jul 2010 21:30:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-6125</guid>
		<description>I am desperate to solve an issue with z-index. If you look at one of my examples:
http://outermotions.com/index-7.php
I am trying to make a website where I have button (menu) and when clicked they slide out a page form the right. The site never changes the whole page it just slides in new content on nav click.  This page works well in some aspects. each button slides out a page like I want. One problem is that I want the content to slide out from under part of the background picture and to see all of the content I&#039;d like to mouseover the content and it comes above the bit of picture. If you click on page (portfolio) it does this. Whats funny is this whole concept works in IE (believe it or not) but not in the other browsers. What seems to happen is the z-index&#039;s wont let the mouseovers take affect. I&#039;d like to change the z-index when button clicked so the active content is always on top.
I&#039;m newbie with jquery, sorry....
The second issue is I&#039;d like to close the open content when opening another content page. I have no idea how to do that in this slider case.
I would greatly appreciate any ideas or examples.</description>
		<content:encoded><![CDATA[<p>I am desperate to solve an issue with z-index. If you look at one of my examples:<br />
<a href="http://outermotions.com/index-7.php" rel="nofollow">http://outermotions.com/index-7.php</a><br />
I am trying to make a website where I have button (menu) and when clicked they slide out a page form the right. The site never changes the whole page it just slides in new content on nav click.  This page works well in some aspects. each button slides out a page like I want. One problem is that I want the content to slide out from under part of the background picture and to see all of the content I&#8217;d like to mouseover the content and it comes above the bit of picture. If you click on page (portfolio) it does this. Whats funny is this whole concept works in IE (believe it or not) but not in the other browsers. What seems to happen is the z-index&#8217;s wont let the mouseovers take affect. I&#8217;d like to change the z-index when button clicked so the active content is always on top.<br />
I&#8217;m newbie with jquery, sorry&#8230;.<br />
The second issue is I&#8217;d like to close the open content when opening another content page. I have no idea how to do that in this slider case.<br />
I would greatly appreciate any ideas or examples.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-5648</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Wed, 30 Jun 2010 02:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-5648</guid>
		<description>Thanks for this post! Very informative indeed, although it didn&#039;t quite solve my z-index problem. :(
As Slatron commented, it&#039;s also important to keep the stack order of elements in mind. If you have 2 seperate elements both containing siblings, these siblings will always remain within the z-index level of their parent element. 
For example: 

{div id=parent1}
      {div id=child1)
      {/div}
{/div}
{div id=parent2}
      {div id=child2)
      {/div}
{/div}

parent1 has a z-index of 20
parent2 has a z-index of 10
In this case, child2 could never overlap parent1 or child1, because of the hierarchy of the parent-elements. However I found a way to resolve this issue:
 
Don&#039;t give parent2 any z-index !
Give parent1 a high enough z-index to overlap with parent2. (e.g. 20 or 30)
Give child2 a z-index high enough to overlap with parent1. (e.g. 40)

In this way, the z-index stack-order of parent2 will start at child2, whilst parent2 itself will remain in the stack-order as it was originally. Ofcourse all the elements with a z-index should also have a position defined.
I know it might be a little confusing, but if you don&#039;t get it, read it a few more times.. 
Here is where I found a clear explanation about z-index and stack-orders:
https://developer.mozilla.org/en/Understanding_CSS_z-index/The_stacking_context</description>
		<content:encoded><![CDATA[<p>Thanks for this post! Very informative indeed, although it didn&#8217;t quite solve my z-index problem. :(<br />
As Slatron commented, it&#8217;s also important to keep the stack order of elements in mind. If you have 2 seperate elements both containing siblings, these siblings will always remain within the z-index level of their parent element.<br />
For example: </p>
<p>{div id=parent1}<br />
      {div id=child1)<br />
      {/div}<br />
{/div}<br />
{div id=parent2}<br />
      {div id=child2)<br />
      {/div}<br />
{/div}</p>
<p>parent1 has a z-index of 20<br />
parent2 has a z-index of 10<br />
In this case, child2 could never overlap parent1 or child1, because of the hierarchy of the parent-elements. However I found a way to resolve this issue:</p>
<p>Don&#8217;t give parent2 any z-index !<br />
Give parent1 a high enough z-index to overlap with parent2. (e.g. 20 or 30)<br />
Give child2 a z-index high enough to overlap with parent1. (e.g. 40)</p>
<p>In this way, the z-index stack-order of parent2 will start at child2, whilst parent2 itself will remain in the stack-order as it was originally. Ofcourse all the elements with a z-index should also have a position defined.<br />
I know it might be a little confusing, but if you don&#8217;t get it, read it a few more times..<br />
Here is where I found a clear explanation about z-index and stack-orders:<br />
<a href="https://developer.mozilla.org/en/Understanding_CSS_z-index/The_stacking_context" rel="nofollow">https://developer.mozilla.org/en/Understanding_CSS_z-index/The_stacking_context</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 8 Good instances of z-index property&#160;&#124;&#160; Blue Blog</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-1601</link>
		<dc:creator>8 Good instances of z-index property&#160;&#124;&#160; Blue Blog</dc:creator>
		<pubDate>Wed, 24 Mar 2010 04:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-1601</guid>
		<description>[...] A Detailed Look at the Z-Index CSS Property [...]</description>
		<content:encoded><![CDATA[<p>[...] A Detailed Look at the Z-Index CSS Property [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-1038</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 19 Jan 2010 09:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-1038</guid>
		<description>Thanks Louis - some really helpful z-index info here.</description>
		<content:encoded><![CDATA[<p>Thanks Louis &#8211; some really helpful z-index info here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Z-Index And The CSS Stack: Which Element Displays First? &#124; Programming Blog</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-896</link>
		<dc:creator>Z-Index And The CSS Stack: Which Element Displays First? &#124; Programming Blog</dc:creator>
		<pubDate>Wed, 02 Dec 2009 22:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-896</guid>
		<description>[...] Z-index is a little more complex than it first appears. It gets even more complex when you try to explain it. I hope I didn&#8217;t confuse you in trying to explain how z-index works. [...]</description>
		<content:encoded><![CDATA[<p>[...] Z-index is a little more complex than it first appears. It gets even more complex when you try to explain it. I hope I didn&#8217;t confuse you in trying to explain how z-index works. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-834</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 30 Oct 2009 20:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-834</guid>
		<description>I am currently updating my web design knowledge and this brilliant article help me get what I need in my my new design. Thank you very much :)</description>
		<content:encoded><![CDATA[<p>I am currently updating my web design knowledge and this brilliant article help me get what I need in my my new design. Thank you very much :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://www.impressivewebs.com/a-detailed-look-at-the-z-index-css-property/#comment-811</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Tue, 20 Oct 2009 15:26:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.impressivewebs.com/?p=592#comment-811</guid>
		<description>Hello, first of all great article.  I did learn alot however i am still having an issue with this. Here is my problem: On my website i have a header image in which i want to stay fixed at the top. Below the header i have all the content which i would like to slide up behind my header image. My markup is something like this:
...
 &lt;!-- position:fixed, z-index:100 --&gt;
   
      button1
     button2
  

 &lt;!--position:relative, z-index:1 --&gt;
all content goes here

...
When sliding the content up and down, it is on top of the header image. Any suggestions?</description>
		<content:encoded><![CDATA[<p>Hello, first of all great article.  I did learn alot however i am still having an issue with this. Here is my problem: On my website i have a header image in which i want to stay fixed at the top. Below the header i have all the content which i would like to slide up behind my header image. My markup is something like this:<br />
&#8230;<br />
 <!-- position:fixed, z-index:100 --></p>
<p>      button1<br />
     button2</p>
<p> <!--position:relative, z-index:1 --><br />
all content goes here</p>
<p>&#8230;<br />
When sliding the content up and down, it is on top of the header image. Any suggestions?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
