javascript - In IE (9+), the usual style does not take effect. It only takes effect when the element is selected using the developer tools. What is the reason?
世界只因有你
世界只因有你 2017-05-31 10:39:30
0
1
712

It can take effect in both chrome and Firefox. It can only take effect in IE, not even the Edge browser.
The page when no selection is made


F12Select the page of this element


Styles that should be applied:
.interactiveSystem {

font-size: 0.3rem;
color: #333;

}

世界只因有你
世界只因有你

reply all(1)
我想大声告诉你

Possible reasons:

1. In the development mode, the debugging mode of the IE browser may be the debugging mode of IE11 rem. The lower version of the IE browser in this unit cannot be recognized. (If you develop mobile products, why should you debug under the IE series browser? ?) You can check the compatibility of uncertain attributes on Baidu can i use website

  1. If the css is loaded using js, this statement console.log() will not run in the normal mode of browsers with lower versions of IE, and will block the code and affect subsequent programs. It is not affected in debug mode.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!