Learn HTML step-by-step from A to Z or improve your professional skills.  Home HTML and CSS Tutorials Colored Scrollbars
Your Ad Here

Colored Scrollbars


Ever wonder how to create those cool colored scrollbars? They are very easy. I'll show you the code first and explain it all.

Colored Scrollbar
Colored Scrollbar

This will go in the head section of you page.(between <head> and </head>)

Code:

<style type="text/css">
{
scrollbar-face-color : #C0C0C0 ;
scrollbar-track-color: #C0C0C0 ;
scrollbar-arrow-color: #000000 ;
scrollbar-shadow-color: #000000 ;
scrollbar-highlight-color: #C0C0C0 ;
scrollbar-darkshadow-color: #C0C0C0 ;
}
</style>

Face color is the actual scroll you use to scroll the page. The track color is the track the scrollbar moves on. Arrow color is for the small arrows at the top and bottom of your scrollbar. Shadow color is the scrollbar shadow. Highlight is the color you see sometimes when you click on the track of the scrollbar. Dark shadow is the shadow around the top and bottom arrows.

Don't forget to change the hex code colors with the ones you'd like to use. Please refer to the Hex Chart if necessary.



Author's URL: Depiction.net
Thank you for voting.
Rate this Materials:
Bad 
1 2 3 4 5 Excellent
print this page subscribe to newsletter subscribe to rss

HTML is Hyper Text Markup Language that is used to make hypermedia and hypertext documents for the Web. More HTML and CSS: Most Popular Materials | Fresh Materials | More HTML Tutorials at Markuptutorials.com

Add comments to "Colored Scrollbars"

Only registered users can write comment

No comments yet...