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
    Jan 2006
    Posts
    51
    Thanks
    7
    Thanked 1 Time in 1 Post

    CSS scrollbar code, won't work in FF, can it be fixed?

    I found this code here on codingforums, and used it for a CSSheet:
    body{
    SCROLLBAR-FACE-COLOR: white;
    SCROLLBAR-HIGHLIGHT-COLOR: white;
    SCROLLBAR-SHADOW-COLOR: #BFB8A6;
    SCROLLBAR-3DLIGHT-COLOR: #BFB8A6;
    SCROLLBAR-ARROW-COLOR: #AB9A74;
    SCROLLBAR-TRACK-COLOR: white;
    SCROLLBAR-DARKSHADOW-COLOR: #f9faf4;
    }

    It works fine in IE, but not in Firefox. The scrollbar simply vanishes. I've searched the net and even here and can't find what the trick is... or it it that nothing can be done about it?
    thanks.
    Nat

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    Hi Natalie,

    That code only works in IE. Other browsers don't let you modify the appearance of the scrollbars; the main reasoning behind this is the scrollbars are a visual function of the operating system, not the website.

  • #3
    New Coder
    Join Date
    Oct 2007
    Posts
    22
    Thanks
    0
    Thanked 4 Times in 4 Posts
    you can write your own custom scrollers if it is for some area on page. otherwise yes this only works under IE as these css properties are proprietary

  • #4
    New Coder
    Join Date
    Jan 2006
    Posts
    51
    Thanks
    7
    Thanked 1 Time in 1 Post
    Quote Originally Posted by _peter_ View Post
    you can write your own custom scrollers if it is for some area on page. otherwise yes this only works under IE as these css properties are proprietary
    Peter, what do you mean by customizing my own scrollers for an 'area' on the page, do you mean for example if I use an Inframe? though i doubt that's what you meant. I guess an Iframe is the same as the open window and won't malke a difference.

    I'm sorry to hear that the bar is not customizable; it is NOT a big deal as long as a site functions as it should, but since I do care for the overall look of a site, i'm bummed.

    Thanks for the replies, guys.

  • #5
    New Coder
    Join Date
    Oct 2007
    Posts
    22
    Thanks
    0
    Thanked 4 Times in 4 Posts
    i meant using javascript to create your own scrollers
    like so:
    http://www.hesido.com/web.php?page=customscrollbar


  •  

    Posting Permissions

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