开发者

IE (7 and 8) and HTML5

开发者 https://www.devze.com 2023-02-19 00:51 出处:网络
I work in a big company that runs several massive sites. All of them XHTML 1.0. Yesterday I was arguing with the CTO because I suggested we should start using the html5 doctype. In his opinion we sho

I work in a big company that runs several massive sites. All of them XHTML 1.0.

Yesterday I was arguing with the CTO because I suggested we should start using the html5 doctype. In his opinion we should stay on the "safe side" till html5 is completely out.

So supposing we're not implementing any new tags like <section> yet but simply adapt to the html5 doctype in order to开发者_JAVA百科 be ready to implement new features as soon as html5 becomes final.

Are there any drawbacks? Something I should keep in mind? Any experiences?

Is there a "stable" way to work with html5 and IE 7 and 8? (we're not supporting 6 anymore).


Check the FAQ for the HTML5 tag for more information.

Especially this question seems to be helpful for you.


HTML5 works in IE7 and IE8 if you have HTMl5 reset CSS in your HTML code. You can use section/footer/header tag too if you really like to use. You can find HTML5 reset at http://html5reset.org or search in Google. If you want to fix for IE7 and IE8 for one format, you should use <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> tag with HTML5. that will fix for IE7 and IE8.

0

精彩评论

暂无评论...
验证码 换一张
取 消