Rumah  >  Artikel  >  hujung hadapan web  >  小弟请教各位大神 为啥显示不出图片_html/css_WEB-ITnose

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

WBOY
WBOYasal
2016-06-24 11:24:50961semak imbas

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

Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn