我用的是div+css在dreamweaver中设计网页,但是为什么按F12后css样式预览不出来??css代码如下* { 30
网页代码:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xh...
网页代码:
<!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=gb2312" />
<title>无标题文档</title>
<link href="style/basic_h.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<div id="top"></div>
<div id="logo"><img src="images/logo.png" width="260" height="75" /></div>
<div id="nav">nav</div>
</div>
<div id="main">
<div id="hot">hot</div>
<div id="news">news</div>
<div id="login">login</div>
<div id="c">c</div>
<div id="c++">c++</div>
<div id="c#">c#</div>
<div id="code">code</div>
<div id="acm">acm</div>
<div id="softwere">softwere</div>
</div>
<div id="footer">footer</div>
</body>
</html> 展开
<!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=gb2312" />
<title>无标题文档</title>
<link href="style/basic_h.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="header">
<div id="top"></div>
<div id="logo"><img src="images/logo.png" width="260" height="75" /></div>
<div id="nav">nav</div>
</div>
<div id="main">
<div id="hot">hot</div>
<div id="news">news</div>
<div id="login">login</div>
<div id="c">c</div>
<div id="c++">c++</div>
<div id="c#">c#</div>
<div id="code">code</div>
<div id="acm">acm</div>
<div id="softwere">softwere</div>
</div>
<div id="footer">footer</div>
</body>
</html> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询