DIV SCROLLBAR |
DIV SCROLLBAR |
Jan 28 2007, 10:59 PM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 196 Joined: May 2004 Member No: 17,677 |
that div scrollbar code isn't working for me
i was wondering if anyone knew any problems with it and could give me a more efficient code |
|
|
|
![]() |
Jan 28 2007, 11:01 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 547 Joined: Dec 2005 Member No: 337,439 |
Post your code.
|
|
|
|
Jan 28 2007, 11:02 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 196 Joined: May 2004 Member No: 17,677 |
<DIV id=scroll3 style="OVERFLOW: auto; WIDTH: 600px; HEIGHT: 100px">TEXTHEREHEISUGHSOIRJWRPOK</div>
|
|
|
|
Jan 29 2007, 09:44 AM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 547 Joined: Dec 2005 Member No: 337,439 |
Not sure what the difference between div ID and div CLASS is but you could try switching to CLASS; it's always worked for me.
CODE <div class="scroll" style="position: absolute; overflow: auto; width:000px; height:000px; top:000px; left:000px;"> CONTENT </div> - put "" around the scroll3 and a semi colon on the end of the values so that it's CODE <DIV id="scroll3" style="OVERFLOW: auto; WIDTH: 600px; HEIGHT: 100px;"> EDIT: Just saw the code you were talking about and that's exactly how it's meant to be so ignore my amendments to it and try the div CLASS. |
|
|
|
Jan 29 2007, 05:00 PM
Post
#5
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 196 Joined: May 2004 Member No: 17,677 |
yeah see
i keep trying to add this scrollbar to my heroes section so i have a scrolling heroes but everytime i put ANYTHING on it it just shows some of the code and not the picture...its soo weird... |
|
|
|
![]() ![]() |