Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Apr 2006
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts

    negative z-index for firefox

    Hi,

    Can anybody tell me how can I make Firefox browser to accept negative z-index like internet explorer and netscape

  • #2
    Regular Coder BonRouge's Avatar
    Join Date
    Mar 2006
    Location
    Sendai, Japan
    Posts
    328
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No. You can't do that.

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Negative

    Actually, the W3C recommendations 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).
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    Canada
    Posts
    253
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #5
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    I found this which may shed some light on the problem:

    http://archivist.incutio.com/viewlist/css-discuss/5061

    This issue post is four years old so I can't say how relevant it is today but it may help.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •