View Full Version : negative z-index for firefox
04-25-2006, 10:22 AM
Can anybody tell me how can I make Firefox browser to accept negative z-index like internet explorer and netscape
04-25-2006, 12:51 PM
No. You can't do that.
04-25-2006, 02:19 PM
Actually, the W3C recommendations (http://www.w3.org/TR/2004/CR-CSS21-20040225/visuren.html#z-index) seem to allow for negative values:
Each box belongs to one stacking context. Each box in a given stacking context has an integer stack level, which is its position on the z-axis relative to other boxes in the same stacking context. Boxes with greater stack levels are always formatted in front of boxes with lower stack levels. Boxes may have negative stack levels. Boxes with the same stack level in a stacking context are stacked bottom-to-top according to document tree order. I'm pretty sure FireFox "accepts" negative z-index values; you might however want to check if your understanding of the stacking concept aligns with that the W3C envisioned--and FireFox likely implements (don't look at me, I never got my head 'round it).
if it helps, if zindex still isnt behaving, there might be a workaround...
as coding goes top to bottom, so does the zindex levels. the first items in your coding will be placed on the page, the second item in your coding will be placed on the page, and so on and so forth. so if you put your coding in the order you want the layers to be in from bottom up, it may (or may not) work.
04-25-2006, 04:42 PM
I found this which may shed some light on the problem:
This issue post is four years old so I can't say how relevant it is today but it may help.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.