 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
squeeezable
Joined: 03 Oct 2006 Posts: 18
|
Posted: Tue Oct 03, 2006 12:22 am Scrollbar question |
|
|
|
Hi people,
I'm new to HTML, but I'm getting there. I mainly use it to add things to my weblogs and personal pages, not to create my own websites, so I sometimes get a bit confused, seeing that most of the basic HTML is already done for me on standard blogs.
I have a question about a scrollbar I intend to use on one of my profiles. I have this code:
| Quote: |
| <style type="text/css"> #messages_panel_body { overflow: auto; height: 350px; } </style> |
It works perfectly fine, I just really want to add my custom color. I've browsed through this forum, not wanting to post before looking like a n00b, but I can only find codes that do not work.
Does anyone know how I add color to this scrollbar? And if I can't, why that is so?
Thank you! |
|
Corey Bryant Site Admin

Joined: 15 May 2004 Posts: 8749 Location: Castle Pines North, CO USA
|
Posted: Tue Oct 03, 2006 3:34 am |
|
|
|
|
You can try
| Code: |
<style type="text/css">
#messages_panel_body {
overflow: auto;
height: 350px;
scrollbar-arrow-color: #8299A6;
scrollbar-3dlight-color: #8299A6;
scrollbar-highlight-color: #8299A6;
scrollbar-face-color: #F6F6F6;
scrollbar-shadow-color: #8299A6;
scrollbar-darkshadow-color: #8299A6;
scrollbar-track-color: #F6F6F6;
}
</style> |
but it won't work in all browsers.
_________________
Corey
Toll Free Numbers | Merchant Accounts |
|
squeeezable
Joined: 03 Oct 2006 Posts: 18
|
Posted: Tue Oct 03, 2006 6:40 am |
|
|
|
| Thank you for the reply. You're right, it only works in IE for as far as I can check. |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|