Log In · Register

 
Adding a scroll bar to a DIV layout...
ifyouspeakanyfas...
post 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;">
 
 
Start new topic
Replies (1 - 2)
*WHIMSICAL 0NE*
post 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>
 
ifyouspeakanyfas...
post Dec 29 2006, 11:57 PM
Post #3


Newbie
*

Group: Member
Posts: 2
Joined: Dec 2006
Member No: 491,161



Thank you SO much for your help...your suggestion worked perfectly!
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: