小弟请教各位大神为啥显示不出图片_html/css_WEB-ITnose
时间:2021-07-01 10:21:17
帮助过:34人阅读
d9.html:
test
test.css:
*{padding: 0;margin: 0;}
.all{width: 630px;
height: 45px;
margin: 50px auto;
background-color: #192132;
padding-left: 200px;
border-bottom:3px solid #000;}
span{display: inline-block;
width: 80px;
height: 45px;
border-bottom:3px solid #1ba2c7;}
.1{background: url(image/1.jpg) no-repeat;}
.2{background: url(image/2.jpg) no-repeat;}
.3{background: url(image/3.jpg) no-repeat;}
.4{background: url(image/4.jpg) no-repeat;}
.5{background: url(image/5.jpg) no-repeat;}
.6{background: url(image/6.jpg) no-repeat;}
.7{background: url(image/7.jpg) no-repeat;}
.8{background: url(image/8.jpg) no-repeat;}
回复讨论(解决方案)
class命名不能用数字来命名
以数字开始的类名仅在IE6(Q)/IE7(Q)/IE8(Q)下被识别,其它浏览器下则不识别