2012-07-26 78 views
-1

我剛剛爲客戶端啓動的網站在Internet Explorer中無法正確呈現。它適用於除IE以外的所有瀏覽器。剛剛啓動的網站,Internet Explorer中的問題

+0

IT中心,只是一定要擺脫怪癖模式。 – Chad 2012-07-26 05:33:20

+0

愚蠢的錯誤,我的歉意。謝謝! – Matt 2012-07-26 22:18:29

回答

4

第1行<link rel>標記已定義,因此您的瀏覽器不檢測文檔類型並轉至quirks mode

見下文:

<link rel="shortcut icon" href="http://pacayamountaincoffee.com/wp-content/themes/pacayamountaincoffee/favicon.ico" /> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 

<link rel>標籤應該是內部<head>標籤

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">  
<head>  
    <link rel="shortcut icon" href="http://pacayamountaincoffee.com/wp-content/themes/pacayamountaincoffee/favicon.ico" /> 
</head> 
+0

oops。很高興有另一雙眼睛。非常感謝你! – Matt 2012-07-26 05:40:01

+0

不客氣。 – 2012-07-26 05:40:50