Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Learn More

Alternate for -webkit-scrollbar-thumb, -webkit-scrollbar-track and -webkit-scrollbar which is working fine in chrome and safari

  • 2 απαντήσεις
  • 14 έχουν αυτό το πρόβλημα
  • 787 προβολές
  • Τελευταία απάντηση από logeshprabu

more options

Here is my code,

li.event_list_cnt::-webkit-scrollbar {
width: 6px;
}

::-webkit-scrollbar-track {
background: url('/mma/sites/all/images/home/scroll-bg.png')no-repeat;
    background-position:center;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

li.event_list_cnt::-webkit-scrollbar-thumb {
border-radius: 10px;
background: url('/mma/sites/all/images/home/scroll.gif')no-repeat;
background-position:top center;     
}
Here is my code, <pre><nowiki>li.event_list_cnt::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: url('/mma/sites/all/images/home/scroll-bg.png')no-repeat; background-position:center; -webkit-border-radius: 10px; border-radius: 10px; } li.event_list_cnt::-webkit-scrollbar-thumb { border-radius: 10px; background: url('/mma/sites/all/images/home/scroll.gif')no-repeat; background-position:top center; }</nowiki></pre>

Τροποποιήθηκε στις από το χρήστη cor-el

Επιλεγμένη λύση

You can't style scroll bars on web pages. Only extensions can do this.

Note that you are inconsistent:
One one place (track) you use -webkit-border-radius: 10px; and border-radius: 10px; and on the other (thumb) only border-radius: 10px;


A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

Ανάγνωση απάντησης σε πλαίσιο 👍 0

Όλες οι απαντήσεις (2)

more options

Επιλεγμένη λύση

You can't style scroll bars on web pages. Only extensions can do this.

Note that you are inconsistent:
One one place (track) you use -webkit-border-radius: 10px; and border-radius: 10px; and on the other (thumb) only border-radius: 10px;


A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.

The helpers at that forum are more knowledgeable about web development issues.
You need to register at the MozillaZine forum site in order to post at that forum.

more options

Thanks cor-el, i forward it to mozillazine and awaiting for reply.