I have designed a site and my CSS is not loading in FF and IE. It works perfectly in Chrome and Safari. Can anyone help me Debug? I am loading the CSS in the following way.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>site title::</title>
<!--CSS Files-->
<link rel="stylesheet" href="stylesheets/style.css" type="txt/css" />
<link rel="stylesheet" href="stylesheets/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="stylesheets/dark.css" type="text/css" media="screen" />
`
style.css
在其type
属性值中缺少一个e
( txt
应该是text
)。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.