The page displays the problematic server environment as follows:
Window server 2012R2
IIS + PHP + MYSQL
A website based on PHPCMS
The problem is as follows:
A button in the page is not displayed in quick browser mode. it is displayed in compatibility mode.
After the same website code is deployed locally, you can see the button in both quick mode and compatible mode.
The button style code is as follows:
.glyphicon { position: relative; top: 1px; display: inline-block; font-family: 'Glyphicons Halflings'; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
Will it be a problem with css code compatibility?
Comparing the source code and css code of the web page, the code is exactly the same, and I feel like I can't help myself...
Reply to discussion (solution)
"Speed mode "? Use the 360 browser. open the developer tool (F12) and see what style the button applies.
You can use f12 to go to the debugging mode for debugging... Compare the differences between the codes.
Is the style of the above sticker
.glyphicon { position: relative; top: 1px; display: inline-block; font-family: 'Glyphicons Halflings'; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
Code, no difference, exactly the same... I even uploaded the static files that can be normally displayed locally to the server, but the speed mode is not displayed...
Code, no difference, exactly the same... I even uploaded the static files that can be normally displayed locally to the server, but the speed mode is not displayed...
Good way. I'll try it. thank you.
New discoveries ....
The environment deployed on the server is IIS + PHP + MYSQL
I locally deployed Apache + PHP + MYSQL in PHPStudy, so that the deployment can be displayed in both browser modes.
After I changed the local deployment to IIS, I found that the rapid mode is not displayed, just like the server...
If so, I think it should not be a problem with the code. Is it a problem with environment deployment ???
Are you sure you are observing a static html file without any php scripts?
Try to copy this button into a file separately, and then observe
Server software is unlikely to cause frontend compatibility problems
.. Suddenly I found that my post was not closed... After sweating, the problem was solved by others, but no one was found .. I only heard about cross-origin problems... Still confused...