2013年5月8日 星期三

IE9 compatible mode

Problem:
 When you written in web page, if you have some CSS3 code, but the 
 IE9 browser open page using the quirk mode, and you will miss the your style,
 how do you setting the IE9 browser to standard mode??

Solution:
(a)  Before html, you can type the doctype
     <!DOCTYPE html>

(b)  in <head> </head> tag, adding the

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9">



Reference:
DOCTYPE & Quirks Mode
Internet Explorer 9 (IE9) 的相容性檢視

沒有留言:

張貼留言