Z-index

Discussion in 'CSS' started by vijaybhaskar184, Feb 17, 2009.

  1. #1
    What is z-index. In which situations we have to use it??
     
    vijaybhaskar184, Feb 17, 2009 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    kk5st, Feb 17, 2009 IP
  3. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #3
    if you have 2 div's and you want to give one div over the other div this z-index comes into picture... which ever has the highest z-index will be on top of the other.
     
    karthimx, Feb 18, 2009 IP
  4. mortgageloan

    mortgageloan Peon

    Messages:
    339
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    oh i didn know this..thanks!!
     
    mortgageloan, Feb 18, 2009 IP
  5. BlueToaster

    BlueToaster Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    You know what? Google is a wonderful tool!

    I think more people should use it.
     
    BlueToaster, Feb 21, 2009 IP
  6. Shane Hudson

    Shane Hudson Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Basically z-index are layers. Like in photoshop, the top layer is seen first.
     
    Shane Hudson, Feb 21, 2009 IP