SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Addict
    Join Date
    Jan 2001
    Location
    Ottawa ON
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    do negative z-index values work in Mozilla?

    Negative z-index values are a legal part of CSS:
    http://www.w3schools.com/css/pr_pos_z-index.asp

    However, I can't get them to work in Gecko-based browsers. Can you?

    When I try to give an item a value such as z-index:-1; the item dissapears in Netscape6. If you can get an item with a negative z-index value working in Mozilla, please post the page for me to see.

  2. #2
    SitePoint Enthusiast kmar86's Avatar
    Join Date
    May 2001
    Location
    Space City, USA
    Posts
    67
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Mozilla? Gecko?
    I'm not familiar with those terms... .. . . .

    Anyway I don't think negative z-index values work in Netscape. Try using positive instead.
    + Kevin Marinas - kmarinas86@roadfly.org
    + My personal website: http://www30.brinkster.com/kmarinas/

  3. #3
    SitePoint Addict
    Join Date
    Jan 2001
    Location
    Ottawa ON
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Negative z-index values are a part of the spec and are needed if the user want to position elements behind the body.

  4. #4
    SitePoint Wizard creole's Avatar
    Join Date
    Oct 2000
    Location
    Nashvegas Baby!
    Posts
    7,845
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    well that's the catch then isn't it. In Mozilla, it IS working, you just can't see them.



    Why not just turn the visibility OFF on that item?
    Adobe Certified Coldfusion MX 7 Developer
    Adobe Certified Advanced Coldfusion MX Developer
    My Blog (new) | My Family | My Freelance | My Recipes

  5. #5
    SitePoint Addict
    Join Date
    Jan 2001
    Location
    Ottawa ON
    Posts
    315
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Question: how do you position an item behind text that has no z-index value in Mozilla?

    In IE you use a negative z-index value for items like text that don't have any z-index value. I can't change the z-index value on the text for various reasons (page is assembled dynamically and there aren't consistent tags ... )


Bookmarks

Posting Permissions

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