html - Why does the scrollbar not work in IE? -
i have created scrollbar , works fine in google chrome , firefox not in ie. have feeling has line-height property.
my code:
html:
<div id="scrollbar"><br /></div>
css:
#scrollbar { margin-top: 10px; height: 220px; float: right; overflow-y: scroll; line-height: 403px; }
here jsfiddle.
anyway work in ie?
change <br/>
. ie picks non-breaking space bit better <br>
tag. http://jsfiddle.net/s9sycey1/3/
Comments
Post a Comment