相关疑难解决方法(0)

IE6 + IE7带溢出的CSS问题:隐藏; - 职位:亲属; 二合一

所以我为主页创建了一个滑块,使用jQuery滑动一些带有标题和传情文本的图像.一切正常,我去检查IE,发现IE 6和7完全杀死我的滑块css.我无法弄清楚为什么,但由于某种原因我无法隐藏溢出的非活动幻灯片:隐藏; 我曾经尝试过来回调整css,但一直无法弄清楚导致问题的原因.

我在一个更加孤立的html页面重新创建了这个问题.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da" dir="ltr">
  <head>
    <style>
      body {
       width: 900px;
      }
      .column-1 {
        width: 500px;
        float: left;
      }
      .column-2 {
        width: 200px;
        float: left;
      }
      .column-3 {
        width: 200px;
        float: left;
      } 
      ul {
        width: 2000px;
        left: -499px;
        position: relative;
      }

      li {
        list-style: none;
        display: block;
        float: left;
      }

      .item-list {
        overflow: hidden;
        width: 499px;
      }
    </style>
  </head>
  <body>
    <div class="column-1">
      <div class="item-list clearfix">
        <ul>
          <li …
Run Code Online (Sandbox Code Playgroud)

html css overflow internet-explorer-7 internet-explorer-6

64
推荐指数
2
解决办法
7万
查看次数