If you go to any website with content that causes a vertical scroll bar in ie10 (desktop) such as http://www.buildwindows.com/ you'll notice that the scroll bar only appears when you hover over the window.
Is there anyway of forcing the scroll bar to always display? I'm worried that it makes it less obvious that there is more content further down the page.
Thanks
There is a custom vendor-prefixed CSS property to set:
html {
-ms-overflow-style: scrollbar;
}
Other options include auto
, none
, scrollbar
, and -ms-autohiding-scrollbar
. The latter causes the behavior you're experiencing.
An excerpt from the MSDN documentation, specifically the abovementioned scrollbar
value:
Indicates the element displays a classic scrollbar-type control when its content overflows.
Unlike
-ms-autohiding-scrollbar
, scrollbars on elements with the-ms-overflow-style
property set toscrollbar
always appear on the screen and do not fade out when the element is inactive.