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

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

WBOY
WBOYOriginal
2016-06-24 11:24:50961Durchsuche

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn