About Z-Index

Discussion in 'CSS' started by wd_2k6, Dec 22, 2008.

  1. #1
    Hi if I make something a negative z-index, e.g z-index: -1, does this mean any links inside the element will not be active, because at the moment when I do this the links are not clickable?

    Would I have to set the body to z-index: -2 maybe and is such a thing reccomended?
     
    wd_2k6, Dec 22, 2008 IP
  2. zendesigner

    zendesigner Guest

    Messages:
    127
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i think your purpose for setting z-index -1 would be to position one element below the other? but you still want the links to be clickable? i think you should create a sub class only for links and assign to it a positive z-index like 1 or 2, hence the actual div block will lie a layer deeper but the content links will lie on top making it clickable...

    im new out here and this is just my opinion...
     
    zendesigner, Dec 23, 2008 IP