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 Coder
    Join Date
    May 2004
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Scrollbar Color trouble

    I cant seem to get my scrollbar the colors I want. Am I laying it out incorrectly?

    <style type="text/css">

    <!--
    body {
    scrollbar-arrow-color: #000000;
    scrollbar-3dlight-color: #808080;
    scrollbar-highlight-color: #0080FF;
    scrollbar-face-color: #808080;
    scrollbar-shadow-color: #0080FF;
    scrollbar-darkshadow-color: #808080;
    scrollbar-track-color: #808080;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    }
    .style1 {
    color: #CCCCCC;
    font-weight: bold;
    cursor : default;
    }
    -->

    </style>

  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,785
    Thanks
    8
    Thanked 131 Times in 129 Posts
    seesm to work fine mor me.

    you are aware that this only woks in IE right?

    /edit/ margin: 0

    to replace al the margins.
    Last edited by harbingerOTV; 01-30-2005 at 05:57 AM.

  • #3
    New Coder
    Join Date
    May 2004
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah, It works but not for the scrollbar on the edge of the browser, it works on text areas that are within the page?

  • #4
    Senior Coder chilipie's Avatar
    Join Date
    Jul 2004
    Location
    Shrewsbury, UK Age: 16
    Posts
    1,117
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Code:
    html, body {
    	scrollbar-arrow-color: #000000;
    	scrollbar-3dlight-color: #808080;
    	scrollbar-highlight-color: #0080FF;
    	scrollbar-face-color: #808080;
    	scrollbar-shadow-color: #0080FF;	
    	scrollbar-darkshadow-color: #808080;
    	scrollbar-track-color: #808080;
    	margin-left: 0px;
    	margin-top: 0px;
    	margin-right: 0px;
    	margin-bottom: 0px;
    }
    html is the true root of the page, not body.

  • #5
    New Coder
    Join Date
    May 2004
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks heaps its all good now!


  •  

    Posting Permissions

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