|
uCoz Community Archives Locked X-UA-Compatible not works? |
X-UA-Compatible not works? |
Hello,
I've made design which uses new css features like border-radius. But there is problem when I'm testing my site on IE9. In IE9 it runs in old mode. There is meta option to enable IE9 mode. I have added to Site pages to head this line: Code <meta http-equiv="X-UA-Compatible" content="IE=edge" /> It's correct, it works but only when I'm logged on site otherway it doesn't work (if i am viewing site as guest). It looks that ucoz has disabled adding new tags into <head> ? Because ucoz is adding Ads in top of <html> it doesn't work. Is there way to fix this or some trick? |
I am testing my site on Internet Explorer 9 (On firefox and chrome it works fine):
When I am viewing site as guest: Here is screenshot how corners should look with using new css3 feature border-radius, logged as user on site: When I look at source code of site in browser as guest there is code between <!DOCTYPE html> tag and <html>. This is why it doesn't work because <meta http-equiv="X-UA-Compatible" content="IE=edge" /> will work only if there is no code before X-UA-Compatible which writes something to document (like javascripts etc.) As logged user I get correct code: Code <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <link type="text/css" rel="StyleSheet" href="/_st/my.css" /> More info here: Code http://msdn.microsoft.com/en-us/library/cc288325%28v=vs.85%29.aspx#SetMode Added (2012-03-12, 1:59 PM) Attachments:
7352584.jpg
(13.6 Kb)
·
1773436.jpg
(12.6 Kb)
Post edited by Yuraj - Tuesday, 2012-02-28, 12:15 PM
|
| |||
| |||