为什么,在FF,TT显示正常,在IE显示不了!

2016-07-07 16:16 来源:www.chinab4c.com 作者:ecshop专家



代码:
  1. /*新分类栏模块css*/
  2. .category1{
  3. display:-moz-inline-stack;
  4. vertical-align: middle;
  5. }

  6. /*商品分类分类页CSS*/
  7. ul{ list1-style:none;}
  8. #left1{ width:260px; float:left; overflow:hidden; background:#ddd;}
  9. #left1 #content1{ width:100%;}
  10. #content1 .bgt1{ width:85px; height:304px; float:left; background:url(images/jord_02.gif) no-repeat 0 0;}
  11. #content1 ul{ width:175px; height:304px; overflow:hidden; float:left; background:#aaa;}
  12. #content1 li{width:100%; float:left; background:url(images/jord_04.gif) no-repeat 0 100%; font: bold 14px Arial, Helvetica, sans-serif;}
  13. #content1 li a{ width:100%; padding-left:10px; line-height:34px; display:block;color:#421f0c; text-decoration:none;}
  14. #content1 li a:hover{ color:#fff; background:#411e0b;}
  15. #img1{ width:100%; clear:both; float:left; margin-top:7px;}
复制代码
文本代码:
  1. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  2. <div class="category1">
  3. <div id="left1">
  4. <div id="content1">
  5. <div class="bgt1"></div>
  6. <div id="list1">
  7. <ul>
  8. <li><a href="category.php?id=1">Categories</a></li><li><a href="category.php?id=2">Categories</a></li><li><a href="category.php?id=3">Categories</a></li><li><a href="category.php?id=4">Categories</a></li><li><a href="category.php?id=5">Categories</a></li><li><a href="category.php?id=6">Categories</a></li><li><a href="category.php?id=7">Categories</a></li><li><a href="category.php?id=8">Categories</a></li><li><a href="category.php?id=9">Categories</a></li></ul>
  9. </div>
  10. </div>
  11. <div id="img1"><img src="images/jord_07.gif" alt="asdfasdfasdf" /></div>


  12. </div></div>
复制代码

QQ截图未命名.jpg (53.72 KB)

QQ截图未命名.jpg