Internet Explorer And Sitefinity
We have a local intranet site (currently for dev purposes) and we are trying to take advantage of HTML5 and CSS3 however when previewing the site in IE9 either like so http://WebDev/Website (over the network) or http://localhost/Website (on the local webserver) IE developer tools tell us that the page deault is IE8 standards.
We have added a response header in IIS (Name: X-UA-Compatible Value:IE=Edge) and we have unchcked the display intranet sites in compatibility view checkbox in IE.
Basicaly I was just wondering if sitefinity somehow overrides this or if there is a setting in Sitefinity I need to change
Thanks in advance
Thanks for your links they were very useful.
I think however I may not have explained the problem correctly.
I have a site in siteifinity making use of HTML 5 and CSS 3 for this I need Internet Explorer 9 so I have set the x-ua compatable tag in the web config to IE=Edge (I heard that this means that the site should use internet explorers default rendering engine not the compatibility view version).
After adding this tag to the web.config file I noticed that IE was still saying that IE8 was the page standard (I did restart IIS and clear my cache but this had no affect).
After a little bit more digging I found that IE has a check box to display all intranet sites in compatibility view so I unchecked this and the site is still using IE 8 as a default setting.
hopefully that clears things up a little bit
Thanks again for your response.
I get what you're trying to do, just not why it's not working :)
Ok so this is what I have:
X-UA-Compatible = IE=Edge as a HTTP Response Header
In The web config I have the following ( I am guessing form when I added the Response header!)
If the header is coming through from IIS, you can remove the X-UA-Compatible tag from the source. Also, you'll definitely need the correct doctype to be present.
Using a custom master page would help you and this thread has a working example to get you started. It includes a reference to Modernizr which is a useful tool for checking browser capabilities.
HTML5 is a good thing. It's worth every single step to get it working for you! :)
Thats Great thanks for your help with this it is greatly appreciated.
Hi tim (and anyone else reading this post!)
Just to let you know it does appear that the doc type declaration is what was throwing it out of HTML5 mode and in turn making IE render in compatibility mode.
Thanks agian for you help