HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Scrollbar question
Post new topic   Reply to topic    HTML Help Forum Index -> CSS
View previous topic :: View next topic  
Author Message
squeeezable



Joined: 03 Oct 2006
Posts: 18

PostPosted: Tue Oct 03, 2006 12:22 am     Scrollbar question Reply with quote

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

PostPosted: Tue Oct 03, 2006 3:34 am     Reply with quote

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

PostPosted: Tue Oct 03, 2006 6:40 am     Reply with quote

Thank you for the reply. You're right, it only works in IE for as far as I can check.
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> CSS All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial