css - Can I stop IE 8 from rendering pages in Quirks Mode when I can’t alter their HTML? -


i designing html website within company website , having serious pain ie 8 enters quirks mode. using several css , javascripts format html.

i have googled solutions move quirks mode internet explorer 8 standards mode, involved adding following lines:

  1. <!doctype html> @ beginning of html
  2. <meta http-equiv="x-ua-compatible" content="ie=edge,chrome=1"> in <head> tag.

however, since html embedded within company html, , company html begins line:

<html xmlns:o="urn:schemas-microsoft-com:office:office" dir="ltr"> 

internet explorer automatically launches quirks mode , rearranges formatting despite previous solutions have used.

and since not have access/control on company html, unable add <!doctype html> beginning of company html.

for circumstance, there can force ie8 not load quirks mode? have thought of writing c# program force reload ie8 standard mode, unsure if efficient.

if wrap document in iframe should render page declared doctype

you can link straight own page :d

<iframe src="http://mycompany.com/mypage.html"></iframe>  

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -