Jul 26, 2008

Css Scroll Bar Styles - Change the color of your website scrollbar!

Free Web Hosting, No Ads > CONTRIBUTE > Tutorials

free web hosting

Css Scroll Bar Styles - Change the color of your website scrollbar!

KansukeKojima
REQUIREMENTS
1. Must have limited to good knowledge of CSS.
2. Must have limited to good knowlege of HTML.

THE ELEMENTS
First of all, there are 7 different elements of a scrollbar.
a) Scrollbar Arrow Color
cool.gif Scrollbar Darkshadow Color
c) Scrollbar Track Color
d) Scrollbar Face Color
e) Scrollbar Shadow Color
f) Scrollbar Highlight Color
g) Scrollbar 3dlight Color

Bassically all that you need to do is change the colors like you normally do with any sort of CSS. Therefore, if you want the arrow of you scrollbar to be black, simply use this:
scrollbar-arrow-color: #000000

HOW TO
If you want to structure them then simply do this:

CODE
Body
(
scrollbar-arrow-color: #000000;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-track-color: #000000;
scrollbar-face-color: #FFFFFF;
scrollbar-shadow-color: #000000;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #000000
)


Well, if you choose to use the above colors then you'll be stuck with a scrollbar that looks a bit like a Zebra, but you get the idea. Well, I hope that helped.

 

 

 


Reply

jlhaslip
Just a reminder that the styling of Scrollbars is an Internet Explorer constuct and will only work in IE-related browsers.
Also, the scrollbar styling code will not validate in the w3c or Html Tidy systems.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. remove scollbar scrollbar-track-color - 8.75 hr back. (1)
  2. change scroll bar color and look html - 59.78 hr back. (1)
  3. web site address bar color - 69.61 hr back. (2)
  4. change scroll bar css - 76.58 hr back. (1)
  5. scrollbar css styles - 79.88 hr back. (1)
Similar Topics

Keywords : css, scroll, bar, styles, change, color, website, scrollbar

  1. How To Setup A Website After Your Forum
    (3)
  2. Creating Navigation For Html Websites
    Have a common navigation menu for the whole website! (12)
    Pre-requisite: HTML, inline frame tags 1 Attachment(.zip) included. Updates : 29-12-07: Doctype
    added in example files (Advised by jlhaslip) Designing a whole website takes a lot of planning
    and organization. Designing a proper navigation system is a basic step in building your website. If
    you are developing webpages in html you would have observed that as you go on creating pages it
    becomes difficult to maintain the links to the pages. This article will guide you in developing a
    common navigation menu for your website. It describes three ways, so if you don'....
  3. Making A One Page Does All Website In Phph
    (2)
    Hello and Great Day or Night either one. Have you ever been to a site and seen a index page or any
    page at all control everything such as index.php?do=home&action=logout something similar to the
    above? Well I am going to show you how easy it is to make this all own your own, and only have to
    use one web template or design to make it work. Before we get started you need to go ahead and find
    the web design that you want to use. After you find the site you want to use go ahead and save
    it... and save it like this so we can work together, ok! Note* We are going to ....
  4. Adding Your Website To Google
    How to register with google (20)
    Hi everyone. Hopefully here im going to tell you how to register yourself with the Google search
    engine and get yourself in their results. Ill start the tutorial assuming you already have Meta
    tags or other search engine optimisation techniques in place. This tutorial is solely about
    registering with google. At one time i thought simply using meta tags etcetera would get you listed
    in Google, i then found out that didnt work, so i wondered why, and the fruits of my labour are what
    will go into this tutorial. the first step is to get a google account, this will get y....
  5. Javascript Scroll Bar
    A scroll bar for your webpage using javascript (13)
    In this tutorial I will show you how to create two buttons in the bottom left of the screen that,
    when hovered over, will scroll the page. Now to start with, we must create a our buttons, the first
    line will create a div element, or block. Using blocks you can position items anywhere on a page.
    We use the ID property just to let us know what the block is used for, as for the first block, its
    obvious that it contains the vertical buttons and the second two blocks contains the horizontal
    buttons. The style property of the div tag tells the browser how to draw it, in the....
  6. Checking Dns Settings For Website
    DNS Setting, Ping, Whois, Dnsreport etc (2)
    If you have recently purchased a domain and facing problems with the workings, the first thing which
    you should check is the DNS setting. Dns settings determine, how to domain is pointed to the Server
    and How the server is connected to the world (internet). Ensure, the DNS settings are perfect to
    make sure, things work smoothly and people across the globe don't have problems accessing your
    site. The basic check would be : PING Suppose you register your domain (example.com) at
    ComputingHost. You get an IP for your website. In this case, suppose its 64.69.35.170. Yo....
  7. Configuring Dns Settings For Website
    Nameserver, A-Address, DNS configuration (1)
    Most of the people have problems configuring their website. After registering their domain, many get
    confused in configuring their domain (basically the DNS settings). This small tutorial will help you
    get started with DNS settings configuration. A domain can be basically pointed to a server using 2
    main techniques. 1. Nameserver (the most recommended way) 2. A Address (Not recommended)
    Configuring using Nameservers ==================== Login to your domain Control panel provided by
    your DOMAIN NAME PROVIDER / REGISTRAR. Not your webhost. Search for settings like DN....
  8. Introduction To Templating
    Templating your website with PHP (1)
    Pre-note Hello and welcome. if your website doesn't use a templating function, you may have
    noticed it's pretty hard to update your website (layout) unless you dig through many files to
    update the images and such. The solution is templates. If you ever got curious and looked into
    phpBB codes or any other template based forum/CMS, you saw the .tpl files they use. I am not at a
    point where i base everything on .tpl (simply because i havent taken the time to see how it all
    works). But i do can tell you that it's the same principle, template your site using an....
  9. Centered Website With Two Columns
    CSS (12)
    This is upgrade of my first tutorial for Centered website with fixed width. Today I am going to
    present you tutorial for making two columns website with fixed width. My basic tutorial can be found
    here: here. So let's begin: First we will change CSS file, everything stays same if not
    mentioned to change, starting with color of content from basic tutorial, change background to this
    code. This will actually be background of left column and padding will be set to 0, cause it will be
    defined in Left and Right column. New code for Content: CODE #Content{  width&....
  10. Centered Website With Fixed Width
    ...begginers lesson... (2)
    This will be tutorial on how to make a simple website design with fixed width and center position.
    This is actually rather simple tutorial, but hopefully it will help others that are new in world of
    creating websites. Website will also contain header, content area and footer. First we must do
    Wrapper. Wrapper is actually an area of fixed width and will be position into center, so that our
    page doesn't fall apart. CODE body{ width:100%;  margin:0px;  padding:
    0px;  text-align:center; background:#FFFFFF; } This is actually an IE....
  11. Secure The Email Addresses On Your Website!
    Wonderful script and useful! And working (10)
    Just follow the instructions below: /* Secure Email Function by Juan Karlo Aquino de
    Guzman Website: http://www.karlo.ph.tc and http://www.abs-cbn.ph.tc E-mail:
    http://www.karlo.ph.tc/send.php Usage: showEmail("support@microsoft.com",0); OR
    showEmail("support@microsoft.com",1); Types: 0 = ordinary random 1 = more secure random To
    include to a script: include_once("email_secure.php"); */ And here is the code :
    CODE <?php /*     Secure Email Function by Juan Karlo Aquino de Guzman     Website:
    http://www.karlo.....
  12. E-mail Mailer Script 0.1
    useful for website visitors (4)
    Are you pissed off when you are putting e-mail in your website, you always get spammers? Well,
    here's the solution. Just change the default variables to anything that you like, etc... follow
    the instructions on the script.. Here it is... hope you like it /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> CODE <?php //E-mail Mailer Script 0.1
    by Juan Karlo de Guzman //FOR TRAP17 ONLY... DEMO VERSION... DO NOT DISTRIBUTE
    header("Content-type: text/html; CHARSET=UTF-8");
    $int_rand=mt_rand(1,20); if&#....
  13. Css Trick: Hide Disabled Internet Explorer Vertical Scrollbar
    (18)
    I'm working on a website and a few minutes ago I got very tired from the Internet Explorer
    vertical scrollbar. This vertical scrollbar is always there, even if the length of the page does not
    require a vertical scrollbar. In this case, Internet Explorer will disable the scrollbar though not
    remove it. In my opinion this would be correct behaviour. The disabled however not hidden scrollbar
    means that a switch between a preview of your website in Mozilla Firefox and MS Internet Explorer
    will lead to an annoying change of the location of your layout. To disable this an....
  14. Making A Website
    Also Some Dos and Don'ts (6)
    I had originally had this posted on my domain at nevernormal.com, and thought that you guys could
    use it here as well. Granted, this is geared to the uber newbie, so don't razz me if I
    don't suggest the most advanced in web design. lol So, you want to make a website? 1.
    First, think about what you want your site to be about. There are fanfic sites, like Drastic
    Measures and fanfiction.net ; cliques or clubs, like the BtVS Writers' Guild ; or, if you
    want, you could have a general site, whether it be about a show/movie you like, or even just about y....
  15. How To Change The Colors Of The Scroll Bar!
    (0)
    This tutorial will show you how to change the scroll bar colors: 1.Copy this code and paste it in
    the tag in the sorce of your page CODE <style> BODY {    scrollbar-face-color:
    #000000;    scrollbar-shadow-color: #000000;    scrollbar-highlight-color: #000000;  
     scrollbar-3dlight-color: #FF0000;    scrollbar-darkshadow-color: #FF0000;  
     scrollbar-track-color: #000000;    scrollbar-arrow-color: #FFFFFF;} </style>
    In order to change colors you need to change thise numbers: ex. #000000 is black #....
  16. [tutorial] Skinning Your Site
    a tutorial on how to skin your website (2)
    For this tutorial you are going to need to know how to use php includes. You are also going to need
    to rename all o your files to a .php extension. In your FTP or Cpanel make a folder in your public
    (main) directory and name it "skins". In the skins folder make another folder named "1". In the
    folder you names skins make a file called cookiecheck.php. Copy the code below and paste it into the
    cookiecheck.php file. $total_skins = 1; $default_skin = 1; if (isset($_REQUEST
    )) { $newskin=(int)$_REQUEST ; if ( ($newskin $t....

    1. Looking for css, scroll, bar, styles, change, color, website, scrollbar

Searching Video's for css, scroll, bar, styles, change, color, website, scrollbar
advertisement



Css Scroll Bar Styles - Change the color of your website scrollbar!



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE