首页  >  文章  >  web前端  >  小弟请教各位大神 为啥显示不出图片_html/css_WEB-ITnose

小弟请教各位大神 为啥显示不出图片_html/css_WEB-ITnose

WBOY
WBOY原创
2016-06-24 11:24:50960浏览

d9.html:
nbsp;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)下被识别,其它浏览器下则不识别

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn