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/> &nbsp;. ie picks non-breaking space bit better <br> tag. http://jsfiddle.net/s9sycey1/3/


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -