moving image forward

Discussion in 'Graphics & Multimedia' started by silverz, Sep 18, 2009.

  1. #1
    Is there a code (HTML, css, etc') that I can add tto bring an image to display infront of another image ? Right now, the image that I want to be more in the back, is part of a website's template. I would like another image to display on top of it.
     
    silverz, Sep 18, 2009 IP
  2. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #2
    <div style="background-image: url(your-back-image.jpg); height:400px; width:400px">
    <img src="your-front-image.jpg" />
    </div>

    You'll need to change the height and width to whatever your background picture is.
     
    Kerosene, Sep 18, 2009 IP