View Full Version : can someone tell me whats wrong with this code


adams92891
02-29-2004, 11:44 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:http://ee.1asphost.com/adams92891/layout.gif(layout.gif); layer-background-image:http://ee.1asphost.com/adams92891/layout.gif(layout.gif);">
</div>

starlet
03-01-2004, 12:42 AM
<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(http://ee.1asphost.com/adams92891/layout.gif)"; layer-background-image:url(http://ee.1asphost.com/adams92891/layout.gif);">
</div>

adams92891
03-01-2004, 02:22 AM
ty

pb&j
03-01-2004, 06:57 AM
your positioning and dimension values need measurements added too...
and there was an extra quote in there...

<div id="layer1" style="position:absolute; top:20px; left:20px; width:300px; height:300px; z-index:1; padding:5px; border: #000000 2px solid; background-color:#000000; background-image:url(http://ee.1asphost.com/adams92891/layout.gif); layer-background-image:url(http://ee.1asphost.com/adams92891/layout.gif);">
</div>

MaGiCSuN
03-01-2004, 11:34 AM
Is there some kind of reason why there is

layer-background-image: url(urlhere.gif);

in the code? I'm just curious, about why people put that in. Thanks :)

Love,
Mirna

kittycat
03-01-2004, 08:38 PM
I think it has something to do with the div background in Netscape... at least that's what it says on the divs page, so I'm willing to accept it :P