Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac OS X Lion, scrollbars, and website usability

I have a number of overflowed divs that I use to display a lot of content in small space (like long lists, etc). Giving the divs the CSS rule of overflow: auto; always worked like a charm, giving the user scroll bars to indicate more content was available.

This is kinda thrown out the window with Mac OS X Lion, which (as a default) hides the scroll bars unless you're actively scrolling. I like it when dealing with an application on my computer, because I think there are very strong visual clues that you can scroll to see more content. On webpage elements, it's a lot less clear, and I'm worried that my users won't know there's more content available (case in point: StackOverflow's "Questions with similar titles" when entering in a new question is a good example of this).

Is this a legitimate concern, or will Lion users know that if something appears to be cut off, it indicates that scrolling might be available? Are there any workarounds to, say, force browsers running on Lion to render scroll bars if it's an element on the page (and not the page itself)??

like image 514
neezer Avatar asked Jul 25 '11 15:07

neezer


People also ask

How do you make the scrollbar permanent on a Mac?

A more permanent option is to change the settings on your Mac to always make the scroll bar visible: In the Menu bar, click Apple Menu > System Preferences. Click General. Next to the "Show scroll bars" heading, select "Always."

What are the two types of scrollbars?

There are two types of scroll bar controls: HScrollBar for horizontal scroll bars and VScrollBar for vertical scroll bars. These are used independently from each other.

Why is scrolling so hard on Mac?

Go to Mouse & Trackpad settings (Click on Apple logo on the menu bar > System Preferences > Accessibility > Mouse & Trackpad). Make sure the Scrolling box is checked. Now, choose “with inertia” in the drop-down next to it. Click OK.


1 Answers

I disagree with this. Yes, I understand the UI/UX argument. However some sites, especially the Horizontal approach for navigation would need this as users may not know navigation goes horizontally. A fix to force it however has been mentioned. I have found this works fine:

Open my code in Mac Safari Chrome etc (JS FIDDLE PREVIEW)

<style type="text/css"> #horiz_scroll::-webkit-scrollbar { -webkit-appearance:none !important; width:11px !important } #horiz_scroll::-webkit-scrollbar { border-radius:8px !important; border:2px solid white !important; background-color:#ccc !important } #horiz_scroll::-webkit-scrollbar-thumb { border-radius:8px !important; border:2px solid white !important; background-color:rgba(0,0,0,.5) !important } /* // If you want it on hover // #horiz_scroll::-webkit-scrollbar:active, #horiz_scroll::-webkit-scrollbar:hover,  #horiz_scroll::-webkit-scrollbar:focus{border-radius:8px !important;border:2px solid white !important;background-color:#ccc !important} */ </style>  <div id="horiz_scroll" style="width:943px;height:480px;overflow:auto">    <!-- Just fit content inside this that scrolls horizontally. Example -->   <table id="Table_01" height="350" border="0" cellpadding="0" cellspacing="0">     <tr>       <td>         <div style="background:#eee;width:9000px;min-height:400px">hello</div>       </td>     </tr>           </table> </div> 
like image 111
TheBlackBenzKid Avatar answered Nov 11 '22 01:11

TheBlackBenzKid