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
    Senior Coder Len Whistler's Avatar
    Join Date
    Jul 2002
    Location
    Vancouver, BC Canada
    Posts
    1,323
    Thanks
    26
    Thanked 100 Times in 100 Posts

    Scrollbar color question

    In my style.css file I have coded all the scrollbar colors. But I only get colored scrollbars in my feedback form, BUT the IE6 browsers scrollbars remain the default gray. I think it has something to do with my link to my style.css file.

    <link rel="stylesheet" type="text/css" href="style.css">

    Does anyone have any suggestions? Thanks
    Leonard Whistler

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    No not the way you link to it, scrollbar colors only work in IE so thats the first problem second, the scrollbar colors need to be applied to both html and body in the CSS not just body.

  • #3
    Senior Coder Len Whistler's Avatar
    Join Date
    Jul 2002
    Location
    Vancouver, BC Canada
    Posts
    1,323
    Thanks
    26
    Thanked 100 Times in 100 Posts
    Thanks _Aerospace_Eng_. What do you mean by "scrollbar colors need to be applied to both html and body in the CSS not just body"?

    Below is what I have in the style.css

    body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #2C1794;
    background-color: #E2ECF9;
    scrollbar-face-color: #ADD7F8;
    scrollbar-highlight-color: #E2ECF9;
    scrollbar-shadow-color: #ADD7F8;
    scrollbar-3dlight-color: #A0D2F9;
    scrollbar-arrow-color: #006699;
    scrollbar-track-color: #BBDEF9;
    scrollbar-darkshadow-color: #98AAB1;

    }
    Leonard Whistler

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Code:
    html, body {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: #2C1794;
    background-color: #E2ECF9;
    scrollbar-face-color: #ADD7F8;
    scrollbar-highlight-color: #E2ECF9;
    scrollbar-shadow-color: #ADD7F8;
    scrollbar-3dlight-color: #A0D2F9;
    scrollbar-arrow-color: #006699;
    scrollbar-track-color: #BBDEF9;
    scrollbar-darkshadow-color: #98AAB1;
    
    }
    If that doesn't work then post a link because then there is obviously another conflict.

  • #5
    Senior Coder Len Whistler's Avatar
    Join Date
    Jul 2002
    Location
    Vancouver, BC Canada
    Posts
    1,323
    Thanks
    26
    Thanked 100 Times in 100 Posts
    Thanks _Aerospace_Eng_ ....... The "html" part solved the problem.
    Leonard Whistler


  •  

    Posting Permissions

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