Web Hosting Forums

Results 1 to 7 of 7

This is a discussion on How to customize scrollbar? in the Hosting Talk & Chit-chat forum
Can anyone tell me the embedded css code to customize a scrollbar? I have the colors already picked out and I need to know what ...

  1. #1
    Loyal Client
    Join Date
    Sep 2001
    Posts
    98

    How to customize scrollbar?

    Can anyone tell me the embedded css code to customize a scrollbar? I have the colors already picked out and I need to know what exactly to put in. I'm looking for embedded because I don't want to call an external css file.

    All help appreciated ^_^

  2. #2
    Like a star... Julian Muņoz's Avatar
    Join Date
    Oct 2002
    Location
    Colombia
    Posts
    1,368
    It's something like:

    <style type="text/css">
    BODY {
    SCROLLBAR-BASE-COLOR: #000000;
    SCROLLBAR-ARROW-COLOR: #FFFFFF;
    }
    </style>

    Put that in your html pages... Remember to put your customized colors
    Julian D. Muņoz - LANeros.com

  3. #3
    04 LeeUmm's Avatar
    Join Date
    Oct 2002
    Location
    Hamilton, Ontario
    Posts
    630
    Nomsane?
    That is all.

  4. #4
    Like a star... Julian Muņoz's Avatar
    Join Date
    Oct 2002
    Location
    Colombia
    Posts
    1,368
    Originally posted by whitty
    use this
    http://www.daveclarkconsulting.com/r...ar_colors.html
    Hey, thanks for that! Really nice utility!
    Julian D. Muņoz - LANeros.com

  5. #5
    tëh professor whiskerz's Avatar
    Join Date
    Dec 2001
    Posts
    165
    of course you can always "view the source" on a site with one you like ..... once the generator gives you the code you can just experiment at will by changing the colors...


    here is the code as well

    <Style>

    <!--
    BODY {
    scrollbar-face-color: #DCE0E2;
    scrollbar-shadow-color: #687888;
    scrollbar-highlight-color: #FFFFFF;
    scrollbar-3dlight-color: #687888;
    scrollbar-darkshadow-color: #DCE0E2;
    scrollbar-track-color: #BCBFC0;
    scrollbar-arrow-color: #6E7E88;
    }
    -->

    </style>

  6. #6
    Loyal Client
    Join Date
    Sep 2001
    Posts
    98
    Thanks! I did view source but was afraid of leaving out bits of code. ^_^ Now I can get them customized!

  7. #7
    Loyal Client
    Join Date
    Jan 2002
    Posts
    636
    Yes indeedy you can....

    Actually all you need is the full css info above, no need for the 3rd party resource

    All you need to do with this code from whiskerz is change the colors to the ones you want.

    He just beat me to posting my code, which was passed along to me a short while back on the forum, as well.

    Isn't family (I-net) great.... :lol:

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •