Lady_Yuna
03-23-2004, 02:07 AM
Ok, I'm making my own site. I'm trying to make a div layers layout. Um..How would I make the box with the content have a background that's transparent? If you were to go to Neopets and type in stewie_griffin01 you'd see a wallpaper of stewie, and then all my proflie stuff is on top of this transparent layer. What's the HTML to make the tranparent part? (I don't think you have to signup if you wanna check someones profile on neopets.)
Please Help!
westernrider
03-23-2004, 02:22 AM
well... if you are just talking about regulary DIV layers... they are normally transparent... I think... just take out the background color="000000" and if you do not already have the DIV code... search under lissa's site and you will find it ;)
<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>
ok... nevermind... I added it for you... take out the background color, image url (I think that is right) and if you do not want a border around the transparent area take out the border part too... if you need more help just ask!
Love,
Sophie
Lady_Yuna
03-23-2004, 02:26 AM
yes....well, I think I'll just switch to frames. Thanks though!
westernrider
03-23-2004, 02:27 AM
your welcome :D
anytime
good luck with the frames 0_0
lol