View Full Version : Div Layer Not Working...


punkycake
03-03-2004, 02:28 AM
I got one of the scrolling div layers on my site, but it's not scrolling....Here's the code, see if you can figure it out...

<div style="position:absolute; left:140px; top:200px; width:500px; height:10px; background-image:url(http://setlak.tripod.com/static.gif)"; overflow:auto";>

CONTENT

</div>

Only I have a ton of stuff written where the content part is, but you don't need to worry about that, I don't think...

MaGiCSuN
03-03-2004, 02:31 AM
there's an extra quote sign in your code:

<div style="position:absolute; left:140px; top:200px; width:500px; height:10px; background-image:url(http://setlak.tripod.com/static.gif)"; overflow:auto";>

CONTENT

</div>

red part :) now the code thinks it has to end there. Take it out and it should be working fine :)

Love,
Mirna

punkycake
03-03-2004, 02:33 AM
Wow! You're right! That worked perfectly! Thank you soooooo much!!!

MaGiCSuN
03-03-2004, 02:33 AM
Your welcome :)
good luck with your page ;)

Love,
Mirna

pb&j
03-03-2004, 03:34 AM
just to be picky, you have a semicolon out of place too...
from this...
overflow:auto";>
to this...
overflow:auto;">