View Full Version : different backgrounds for each div??!??!


NikiNoo
02-20-2005, 10:06 PM
Is there a way to get a different background into each div layer? if so, could you point me in the right direction? Thanks! :buckt:

Chris
02-20-2005, 10:10 PM
<div id=layer1 style="position:absolute; top:20; left:20; width:300; height:300; z-index:1; padding:5px; border: #000000 2px solid; background-color:#000000; background-image:url(yourfilename.gif); layer-background-image:url(yourfilename.gif);">

Content goes here (images, text)

</div>

Taken from: www.lissaexplains.com/html7.shtml

NikiNoo
02-20-2005, 10:12 PM
thanks so much!

Chris
02-20-2005, 10:17 PM
You're welcome :)

Chris