Kurkula
Kurkula

Reputation: 6762

work around for CSS scrollbar width

I am trying to give width to scrollbar which work in chrome but not in internet explorer. DO we have any work around for scrollbar code to assign width which work in internet explorer?

.flexcroll {
    scrollbar-face-color: gray;
    scrollbar-shadow-color: #808080;
    scrollbar-highlight-color: #FFFFFF;
    scrollbar-3dlight-color: #FFFFFF;
    scrollbar-darkshadow-color: #FFFFFF;
    scrollbar-track-color: #FFFFFF;
    scrollbar-arrow-color: #000;
}

    .flexcroll::-webkit-scrollbar {
        width: 12px;
    }

Upvotes: 0

Views: 113

Answers (1)

Magesh Kumaar
Magesh Kumaar

Reputation: 1467

There are no ways to implement it in Firefox/I.E.

Firefox doesnt not have an webkit equivalent property!

in I.E colors can be changed. So it provides limited editability !

But, DOWNLOAD LINK -> here is a custom scrollbar JS script that is cross-browser compatible.

NOTE: It is known to slow down though!

Upvotes: 1

Related Questions