2012-07-26 35 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