rundellt2000
05-01-2003, 08:07 AM
HELP! HELP! HELP!
My div code has the overflow: auto part for scrolling, but it scrolls sideways. I want it word-wrap, as in going down! Like This:
v
v
v
v
v
v
v
v
v
PLZ HELP!
Note: I followed the tutorial on http://``````````````.
MaGiCSuN
05-01-2003, 11:33 AM
maybe you could post the code you are using currently?
Love,
Mirna
rundellt2000
05-01-2003, 10:46 PM
Here is the code:
<DIV id="updates" style="position: absolute; top: 190px; width:120px; left: 35px; height:110px; overflow: auto;" align=left>Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!Text is here! Text is here!</DIV>
Is it possible for this mistake by the little space by the colon in overflow:auto?
Arc Angel
05-01-2003, 10:55 PM
It works fine on mine. It scrolls just like it should. Is that the exact code?
rundellt2000
05-01-2003, 11:15 PM
It works alright when I make a new document on its own e.g.
<html><head><title>TESTING DIV!</title>
<body>
<DIV id="updates" style="position: absolute; top: 190px; width:120px; left: 35px; height:110px; overflow: auto;" align=left>Text is here! Text is here!Text is here! Text is here!here!
Text is here!</DIV>
</body></html>
on its own, but when I put the image code into it and some other divs, it starts scrolling this way >>>>. I even tried getting rid of the other divs, and it still doesnt work. NONE OF THEM WORK!
Please help me somehow!
<DIV id="updates" style="position: absolute; top: 190px; width:120px; left: 35px; height:110px; overflow:auto; overflow-x:hidden;" align=left>
Text is here! Text is here!Text is here! Text is here!here!
Text is here!
</DIV>
It won't work perfectly in NS... it'll scroll horizontally - the overflow-x and overflow-y don't work in NS - but it'll work in IE....
Xiphias
05-02-2003, 12:00 AM
the image is probably bigger than the div
rundellt2000
05-02-2003, 02:39 AM
dont worry ive got it now :)