Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Location
    England
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Vertical Browser Scrollbar

    I am creating a site for a company, but I want to change the colour of the default IE vertical scrollbar, like this site! their's, as you can see is green.

    I did find some css code on the web to do it, but I am not familar with css and was unable to get it to work, I just tried to mix it in with HTML.

    I wonder if anybody knows how to do it with HTML, or can tell me the css code, and how to impliment it. I would be greatful for you assistance.
    One Man Army

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    London
    Posts
    220
    Thanks
    0
    Thanked 0 Times in 0 Posts
    For the scrollbar of a single page put the following into your head tags:

    <STYLE type="text/css">
    <!--
    BODY {
    scrollbar-face-color:#FFFFFF;
    scrollbar-highlight-color:#FFFFFF;
    scrollbar-3dlight-color:#FFFFFF;
    scrollbar-darkshadow-color:#FFFFFF;
    scrollbar-shadow-color:#FFFFFF;
    scrollbar-arrow-color:#C0BCC0;
    scrollbar-track-color:#FFFFFF;
    }
    -->
    </STYLE>

    and change the colours to what you need.

    By reading a little on CSS from http://www.w3schools.com/css/default.asp you will be able to incorporate it into the whole site at once instead of putting it on each page.

    I think I remember seeing someone else, perhaps several people, asking this very question so you may like to do a search of this site before asking further questions to see if it has been queried before. That way you will be able to get your answer a little quicker.

    Hope this helps.

    Mxx
    "Imagination is more important than knowledge" A. Einstein's 'Twin Paradox'

  • #3
    Regular Coder
    Join Date
    Jan 2003
    Posts
    680
    Thanks
    0
    Thanked 0 Times in 0 Posts
    And here's what we do about that! Lovely gray shade.

    http://www.w3.org/Style/Examples/007/scrollbars.html
    (o<
    //\ &nbsp; &nbsp; &nbsp; =^..^=
    &nbsp; &nbsp; $!

  • #4
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Yes! Gray again!

    Muahahaha, that's a great trick! Grey scrollbars once more! And W3C sanctioned at that.
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #5
    New to the CF scene
    Join Date
    Jan 2003
    Location
    England
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Many thanx, apologies for not searching the forums first, I was pressed for time as I had to go out, in future i'll check the forums first.
    One Man Army


  •  

    Posting Permissions

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