Adding a scroll bar to a DIV layout... |
Adding a scroll bar to a DIV layout... |
Dec 29 2006, 06:04 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 2 Joined: Dec 2006 Member No: 491,161 |
I am using the Retro Neon Boombox layout that was just added to the site.
However, the scroll bars for the friends list and then about me sections are not showing up. Here is the code that I have for my about me...can anyone tell me why the scroll bar is not working? <div id="contentbox" style="position:absolute;left:406px;top:531px;width:297px;height:224px;z-index:1;overflow-y; auto;scrollbar-face-color:ffffff; scrollbar-arrow-color:FA59B4; scrollbar-highlight-color:FA59B4; scrollbar-shadow-color:FA59B4; scrollbar-3dlight-color:ffffff; scrollbar-darkshadow-color:ffffff; scrollbar-track-color:ffffff; background:ffffff;"> |
|
|
|
![]() |
| *WHIMSICAL 0NE* |
Dec 29 2006, 06:43 PM
Post
#2
|
|
Guest |
Instead of that why not keep the css for the scrollbars out of the actual div code. Something like this:
CODE <style>div{ scrollbar-face-color:ffffff; scrollbar-arrow-color:FA59B4; scrollbar-highlight-color:FA59B4; scrollbar-shadow-color:FA59B4; scrollbar-3dlight-color:ffffff; scrollbar-darkshadow-color:ffffff; scrollbar-track-color:ffffff;}</style> And then change your div to: CODE <div class="contentbox"
style="position:absolute;left:406px;top:531px;width:297px;height:224px;z-index:1;overflow:auto; background-color:ffffff;">CONTENT HERE</div> |
|
|
|
ifyouspeakanyfaster Adding a scroll bar to a DIV layout... Dec 29 2006, 06:04 PM
ifyouspeakanyfaster Thank you SO much for your help...your suggestion ... Dec 29 2006, 11:57 PM![]() ![]() |