Created
October 3, 2013 14:02
-
-
Save dannycallaghan/6810322 to your computer and use it in GitHub Desktop.
Fixes the sometimes visible vertical scrollbar when using 'overflow: auto' (invariably as a clear float fix). Includes a fix for IE8. From http://stackoverflow.com/questions/7646538/disable-vertical-scroll-bar-on-div-overflow-auto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.foo { | |
overflow: auto; | |
overflow-y: hidden; | |
-ms-overflow-y: hidden; /* IE8 fix */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment