Created
August 27, 2012 13:28
-
-
Save reneras/3488401 to your computer and use it in GitHub Desktop.
RHide scrollbar in firefox
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
<div id="wrapper"> | |
<div id="scroller"> | |
<div id="content"> | |
foo<br>bar<br>baz<br>foo<br>bar<br>baz<br>foo<br>bar<br>baz<br> | |
foo<br>bar<br>baz<br>foo<br>bar<br>baz<br>foo<br>bar<br>baz<br> | |
foo<br>bar<br>baz<br>foo<br>bar<br>baz<br>foo<br>bar<br>baz<br> | |
</div> | |
</div> | |
</div> | |
<--! | |
/* http://jsfiddle.net/2wWph/ */ | |
#wrapper { | |
width: 150px; | |
overflow: hidden; | |
outline: 1px solid blue; | |
} | |
#scroller { | |
width: 270px; | |
height: 100px; | |
overflow: auto; | |
position: fixed; | |
} | |
#content { | |
width: 146px; | |
border-left: 2px solid red; | |
border-right: 2px solid red; | |
background: yellow; | |
} | |
| |
--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment