Home  >  Article  >  Web Front-end  >  bootshrap will change the IE browser scroll bar style_html/css_WEB-ITnose

bootshrap will change the IE browser scroll bar style_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:40:021515browse

During the development of a small website
Customers have been complaining that the scroll bars on the right side of the web page are different in IE11
Later I found that in IE11, 2 page scroll bars will be automatically hidden. , I thought it was the browser's default behavior at first, but it didn't work after changing overflow:scroll. After careful observation, I found that these two pages referenced the bootshrap.css file because they used bootsshrap's special effects, so it was determined that the problem was in bootshrap.css.

After troubleshooting, it was found that the following code was causing the problem.

@-ms-viewport {
width: device-width;
}

Mark it here and provide help to friends who have problems.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn