Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

image layers question

Options
  • 18-01-2003 5:29pm
    #1
    Users Awaiting Email Confirmation Posts: 15,001 ✭✭✭✭


    is it possible to align an image using layers at the bottom of a document, so it is placed behind any tables, text or other images ?

    i've been tinkering with a layer in dw for a while now and i can only get it to align beneath other layered images, never the basic text or whatever on the page.


Comments

  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    Sure you can, just make sure the z-index of the lower image is, well, lower...
    <div id="Layer1" style="position:absolute; width:100px; height:100px; z-index:1; left: 100px; top: 100px;"><img src="image.png" width="100" height="100" /></div>
    <div id="Layer2" style="position:absolute; width:100px; height:100px; z-index:2; left: 100px; top: 100px;">Lorem ipsum dolor sit amet, comsect quis nostrud exercitation ullam corp consquet, vel illum dolore eu fugat execeptur sisint occaecat cupiri tat non. Nam liber tempor cum soluta nobis. Temporibud autem quinsud et aur delectus ut ayt prefer endis dolorib. At ille pellit sensar luptae epicur semp in indutial genelation.</div>


  • Users Awaiting Email Confirmation Posts: 15,001 ✭✭✭✭Pepe LeFrits


    So basically if i want the text to show up over the layered image i have to make it a layer aswell ?

    Hmm, this probably isn't going to work


  • Banned (with Prison Access) Posts: 16,659 ✭✭✭✭dahamsta


    So basically if i want the text to show up over the layered image i have to make it a layer aswell ?

    Yip.

    adam


Advertisement