Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
192
rated 0 times [  195] [ 3]  / answers: 1 / hits: 57890  / 8 Years ago, thu, february 4, 2016, 12:00:00

I am generating a list of organisations of the left hand side of this page: http://www.ihhub.org/member-map/



This list is generated through appending <span> tags that are linked to the corresponding map.



My issue is - the scroll bar does not appear in CHROME but does appear in Firefox and Safari.



Any solutions?



UPDATE:



This issue appears to be isolated to MAC OS.



SOLUTION:



::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0,0,0,.5);
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

More From » jquery

 Answers
19

According to CSS - Overflow: Scroll; - Always show vertical scroll bar?: OSx Lion hides scrollbars while not in use to make it seem more slick, but at the same time the issue you addressed comes up: people sometimes cannot see whether a div has a scroll feature or not.



CSS fix:



::-webkit-scrollbar {
-webkit-appearance: none;
width: 7px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(0,0,0,.5);
-webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}

[#63448] Tuesday, February 2, 2016, 8 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
denis

Total Points: 260
Total Questions: 87
Total Answers: 87

Location: Venezuela
Member since Thu, Jul 15, 2021
3 Years ago
;