SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Jun 2009
    Location
    Ottawa, Ontario, Canada
    Posts
    120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Issue with Chrome - Scroll bar colour on div

    Hi Everyone,

    I'm putting a site together for a friend of mine. One of the things that he asked for is a text box with vertical scrolling. I realize that this is a style that most web designers typically avoid but he's the client...

    The problem I'm having is that in Google Chrome the scroll bar colour looks awful. I have found a tutorial on changing the scroll bar colour in Safari however it did not work as it should and the scroll tab ended up blending into the scroll bar making the tab invisible...

    If you want to check out the site you can with this link:

    http://www.strengthrevolution.net/english/news.php/

    Any help would be greatly appreciated.

    cheers,
    floater

  2. #2
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,820
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    Only a few browsers allow the web page to change the scroll bar colours and even in those browsers it can be turned off.

    The only way to get the scrollbar to always look the way you want is to hide the regular scrollbar and create your own as a part of the page.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  3. #3
    SitePoint Zealot
    Join Date
    Jun 2009
    Location
    Ottawa, Ontario, Canada
    Posts
    120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks fengall,

    I was afraid that might be the answer...

    floater


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
  •