CSS Problem

Discussion in 'CSS' started by albag999, Sep 25, 2008.

  1. #1
    Basically I want to know how to send the image to the back on dreamweaver so that I can place other images on top of that image.
     
    albag999, Sep 25, 2008 IP
  2. aj.eylia

    aj.eylia Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    just apply

    z-index
     
    aj.eylia, Sep 25, 2008 IP
  3. albag999

    albag999 Active Member

    Messages:
    289
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    what u mean just apply it. Where do you apply it to?
     
    albag999, Sep 26, 2008 IP
  4. belkocrnic

    belkocrnic Active Member

    Messages:
    107
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    for example put in your css code
    #imageid
    {
    z-index: -1
    }
    so that image will be in behind,but first must been positioned
     
    belkocrnic, Sep 26, 2008 IP
  5. 007c

    007c Peon

    Messages:
    611
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Using absolute positioning is not a good idea... To overlap images i like to set it as background-image in the containing div if more than one overlap like 3 4, add more divs inside it. Then you won't get any cross browser probs.
     
    007c, Sep 26, 2008 IP
  6. steelfrog

    steelfrog Peon

    Messages:
    537
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Using Z-indexing is a bad idea; it's support is shady at best. I would do as 007c mentioned: create a container DIV that has a background image. Inside that div, you can place other dividers or images.
     
    steelfrog, Sep 26, 2008 IP