This is kinda weird problem we came across with my friend. We located our site at network drive and tried to open it from there. All other browsers render this page just fine but IE (btw. why it's always IE? :) ) can't understand inline-block statement. But if I copy our file to my local drive there is no problem, IE renders everything just like other browsers. I tested this with IE7-9b.
相关问题
- How to fix IE ClearType + jQuery opacity problem i
- How to Debug/Register a Permanent WMI Event Which
- Adding a timeout to a render function in ReactJS
- the application was unable to start correctly 0xc0
-
Why does the box-shadow property not apply to a
This sounds like that problem - where IE switches rendering modes depending on where the page is located.
It's insane.
See this answer.
So, because you're accessing your site via "network drive", IE is going into IE7 mode, and IE7 does not support
inline-block
properly, hence your site does not render properly.You can request IE8 to render your page in IE8 mode by adding this to your page:
Or, to request IE8 to use the most recent version of it's rendering engine (think IE9), you should use this:
Or, to use Chrome Frame instead if it's available:
Use an admin account. IE may Denies access to network drive if not admin.