Results 1 to 7 of 7

Thread: styled scrollbars?

  1. #1
    Join Date
    Oct 2009
    Posts
    38
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Red face styled scrollbars?

    hi...does anybody knows how can i style a scrollbar in a div with css??
    only the scrollbar, not the content


    thanks anyway..
    Last edited by tpravioti; 02-03-2010 at 10:34 AM.

  2. #2
    Join Date
    Jan 2010
    Posts
    48
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    This works in IE but wont show on FF (apparently this is a MS feature only):

    Code:
    scrollbar-3dlight-color:#ffd700;
    scrollbar-arrow-color:#ff0;
    scrollbar-base-color:#ff6347;
    scrollbar-darkshadow-color:#ffa500;
    scrollbar-face-color:#008080;
    scrollbar-highlight-color:#ff69b4;
    scrollbar-shadow-color:#f0f
    Though those colours are ghastly
    Last edited by Aravona; 02-03-2010 at 11:11 AM.

  3. #3
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    I don't suggest coloring a scroll bar...
    Jeremy | jfein.net

  4. #4
    Join Date
    Oct 2009
    Posts
    38
    Thanks
    6
    Thanked 2 Times in 2 Posts

    Default

    i know this code:
    Code:
    scrollbar-3dlight-color:#ffd700;
    scrollbar-arrow-color:#ff0;
    scrollbar-base-color:#ff6347;
    scrollbar-darkshadow-color:#ffa500;
    scrollbar-face-color:#008080;
    scrollbar-highlight-color:#ff69b4;
    scrollbar-shadow-color:#f0f
    i find it everywhere but i want to have a coloured scrollbar that works in all browsers and not only in IE..

    any other ideas??

  5. #5
    Join Date
    Sep 2008
    Location
    Seattle, WA
    Posts
    135
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Default

    Yeah, create your own browser that supports it They just don't have that feature across all browsers. Period.

  6. #6
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    There is no reason to not style the scrollbars because if it doesn't work they will just be normal. But IE is the only browser that supports it, so about 50% of your guests will not see anything-- it's a waste of time if anything, but not a real issue.
    There is no way to style real scrollbars unless the browser supports it. Because of that, you could TRY to make your own scrollbars by creating divs with dragable elements, etc., but that sounds like a terrible (and complex) idea. Alternatively, don't use scrollbars: use another method like scroll buttons.
    As has been said by others, the short answer to your question is no, it cannot be done.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  7. #7
    Join Date
    Jul 2009
    Location
    Washington (USA)
    Posts
    94
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Default

    Custom Scrollbars are just annoying. Don't make one.

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
  •