Board logo

标题: 为什么引用css 不显示,谢谢! [打印本页]

作者: andy3133    时间: 2014-1-16 12:07     标题: 为什么引用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" />
作者: divcss5    时间: 2014-1-16 19:09

你的HTML代码 和引人CSS文件路径是否有问题




欢迎光临 CSS论坛 (http://www.divcss5.com/bbs/) Powered by Discuz! 6.1.0