aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes what is wrong here with z-index? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "what is wrong here with z-index?" Watch "what is wrong here with z-index?" New topic
Author

what is wrong here with z-index?

Martin Garrido
Ranch Hand

Joined: Dec 04, 2010
Posts: 31
<div id="C">C<div id="c">c</div></div>
c with position relative and z-index negative is drawn behind her parent box (static)


<div id="C">C</div>
<div id="D">D</div>
D with position relative and z-index negative is drawn behind C (static)



..... I thought "Elements with non-static positioning will always appear on top of elements with default static positioning"
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Can you make a jsfiddle example and say what browser[s] you see this in?

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is wrong here with z-index?