Div help, how to put a scroll box in div |
Div help, how to put a scroll box in div |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 7 Joined: Sep 2008 Member No: 683,743 ![]() |
okay i want a div in a div you see...
CODE <div class="YOUR DIV CLASS"> TEXT TEXT TEXT <div style="width:###px; height:###px; overflow:auto;"> TEXT WITH A SCROLLBAR HERE </div> TEXT TEXT TEXT </div> something like that but the dive code i use for the main square code is like this CODE <div class="content" style="position: absolute; width:400; height:450; z-index:1; left:405; top:50; backgroundcolor: D6D6D6; overflow: auto; border-color: 000000; border-style: none; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;"> so everytime i try to put a div or scroll box thing it just makes nothing except space of how much the square should look like... can anyone help me please? this is the code i use to hide my layout... i'm sorry for the trouble :d |
|
|
![]() |
![]()
Post
#2
|
|
![]() Treasure Pleasure ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Head Staff Posts: 11,193 Joined: Oct 2005 Member No: 281,127 ![]() |
The codes you first posted should work fine. You just need to make sure you have enough content inside the second DIV to make the scrollbar appear.
|
|
|
![]() ![]() |