发新话题
打印

为什么引用css 不显示,谢谢!

为什么引用css 不显示,谢谢!

为什么1.html引用2.css,显示不了?谢谢!

2.css的源码
#header,#main,#footer{width:970px;margin:0 auto;background:#f00;}
#header{heigh:244px;background:blue}
#main{heigh:auto;background:greed;}
#footer{height:130px;background:red;}

1.html引用2.css
<link rel="stylesheet" href="2.css" type="text/css" />
你的HTML代码 和引人CSS文件路径是否有问题
发新话题