Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS scrollbar colour change

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #35303
    amyth91
    Participant

    how do i change the colour of the scroll bar. i want to match the colour with the scheme of the website. i tried this :-

    body {
    scrollbar-face-color :#a5c4cd;
    scrollbar-highlight-color :#84b3c1;
    scrollbar-3dlight-color :#84b3c1;
    scrollbar-shadow-color :#84b3c1;
    scrollbar-darkshadow-color :#84b3c1;
    scrollbar-track-color :#d7eef4;
    scrollbar-arrow-color :#000
    }

    but this is only working for IE. how do i make it appear for chrome and moz ???

    #91187
    #91194
    rambangaroo
    Member

    i cant understand,

    #91195
    SgtLegend
    Member

    I don’t believe Firefox has any properties that allow you to manipulate the scrollbars

    #91201
    SgtLegend
    Member

    The main window scrollbars are locked by the window component styles which unless the browser vendor gives you access to are not possible to change, if you need to change the internal scrollbars for a custom

    element for example there are plenty of jQuery plugins around that can do this.

    For elements such as it’s not possible to change the scrollbars as the same restriction applies to both it and the main window.

    #91230
    SgtLegend
    Member
Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘CSS’ is closed to new topics and replies.