IE10 stops the scrollbar from appearing content and disappears

If you go to any website with content that calls the vertical scroll bar in ie10 (desktop), for example http://www.buildwindows.com/ , you will notice that only the scroll bar appears when you hover over the window .

Is there a way to make the scroll bar always appear? I worry that this makes it less obvious that the page has more content.

thank

+47
css internet-explorer-10
May 30 '13 at 8:53 am
source share
5 answers

To configure: custom CSS prefix with privileges:

html { -ms-overflow-style: scrollbar; } 

Other options include auto , none , scrollbar and -ms-autohiding-scrollbar . The latter causes the behavior that you experience.

Excerpt from the MSDN documentation , in particular, the scrollbar value mentioned above:

Indicates that the item displays the classic scroll bar control when its contents are full.

Unlike -ms-autohiding-scrollbar , scroll bars on elements with the -ms-overflow-style property set to scrollbar always appear on the screen and do not disappear when the element is inactive.

+123
Jul 06 '13 at 15:51
source share

This should do the trick; a media query will prevent the scroll from disappearing when the screen is larger than 992px. (I believe that a Windows mobile device needs this to hide the scroll bar, so I made a request for multimedia).

 @-ms-viewport { width: device-width; } @media (min-width: 992px) { @-ms-viewport { width: auto !important; } } 
+3
Apr 14 '15 at 2:48
source share

css style

overflow-y:scroll;

will cause the item for which it is set to always have a vertical scroll bar

+1
May 30 '13 at 8:56
source share

I added this to the html element, i.e. html {-ms-overflow-style: scrollbar;} and it worked for me.

+1
May 27 '15 at 11:14
source share

Adding META-Tag Work:

 <meta http-equiv="X-UA-Compatible" content="IE=9"> 
-3
Jun 25 '13 at 10:06
source share



All Articles