Jump to content
xisto Community
Sign in to follow this  
djleli

Scrollbar

Recommended Posts

to change the colour of the scrollbar just change the html colour coding

[/br]Add to the <HEAD> of your page. [br][/br]<style> [br]<!-- [/br]BODY{ [br]scrollbar-face-color:#75EA00; [/br]scrollbar-arrow-color:brown; [br]scrollbar-track-color:#EEEEEE; [/br]scrollbar-shadow-color:''; [br]scrollbar-highlight-color:''; [/br]scrollbar-3dlight-color:''; [br]scrollbar-darkshadow-Color:''; [/br]} [br]--> [/br]</style>

Share this post


Link to post
Share on other sites

You can actually define the background color for the scrollbar in your marquee tag.Here is an example.<marquee bgcolor=000000> Hello </marquee> (black background)Its simpler than using styles.

Share this post


Link to post
Share on other sites

You can actually define the background color for the scrollbar in your marquee tag.Here is an example.
<marquee bgcolor=000000> Hello </marquee> (black background)
Its simpler than using styles.

That's the background of a marquee, not the scrollbars.

Share this post


Link to post
Share on other sites

Oh, I thought you guys were talking about text scrolling bars. Hence, Marquee. In that case, here is a code using CSS... it's the simplest way. Insert this into the head of your website, and fill in the colors appropriately for your website:<style type="text/css"><!--BODY{scrollbar-3d-light-color:000000; scrollbar-arrow-color:000000; scrollbar-base-color:000000; scrollbar-dark-shadow-color:000000; scrollbar-face-color:000000; scrollbar-highlight-color:000000; scrollbar-shadow-color:000000;}--></style>

Share this post


Link to post
Share on other sites

Be wary of using it, though. I'm not entirely sure that changing the scrollbar is a W3C standard, as it put up errors when I tried to validate CSS that used it. While I think it looks nice done properly, just be careful. Also, if it is valid, could someone give me a link to the W3C page that says so? I can't seem to find it in their list of valid CSS tags.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.