Reputation: 107
I have a problem with a web application which works well in IE8 but not in IE11. One of the issues is that vertical scrollbar doesn't appear in IE11. The compatibility mode isn't an option.
I tried with this but it didn't work.
-ms-overflow-style: scrollbar;
My css looks actually like this:
.tableform .content {
padding: 8px;
overflow: auto;
width: 100%;
height: 100%;
}
Scrollbar works in IE8 with overflow: auto;
but not in IE11.
Please help.
Upvotes: 2
Views: 5691
Reputation: 5103
Without a jsfiddle to see what your actual code is there's not a lot we can do, but in this test:
<div class="tableform">HI!</div>
.tableform {
padding: 8px;
overflow: auto;
width: 100%;
height: 100%;
background-color: red;
}
My div's actual height is only as big as its content, and the overflow: auto cuts it off.
Whereas with a minor edit:
http://jsfiddle.net/3g5pqdf8/2/
body {
height: 2000px;
}
.tableform {
padding: 8px;
width: 100%;
height: 100%;
background-color: red;
}
I get the scrollbar back.
Upvotes: 3