Home >Web Front-end >HTML Tutorial >小弟请教各位大神 为啥显示不出图片_html/css_WEB-ITnose

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

WBOY
WBOYOriginal
2016-06-24 11:24:501030browse

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)下被识别,其它浏览器下则不识别

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn