Bootstrap链接在小屏幕上变得无法点击

时间:2016-12-07 10:42:05

标签: twitter-bootstrap web web-deployment web-frontend

我正在使用bootstrap来设计响应式网站。当浏览器窗口最大化时链接正常工作。但是当我在移动窗口上测试链接时链接变得不可点击。

<div class="container-fluid">
    <div class="row" style="text-align:center">

      <div class="col-lg-9 pull-right col-md-9 col-sm-9 col-xs-4 pull-right" style="height:150px">
         <span id="lines" onclick="openNav()"> </span>
      </div>

      <div class="col-lg-3 col-md-3 col-sm-3 col-xs-8 content_side">
         <div class="col-lg-10 col-md-10 col-sm-10">
         <img src="images/logo.png"  class="img-responsive" id="img_logo" alt="logo"/>
      </div>

      <div class="col-lg-10 col-md-4 col-sm-4">
        <ul>
          <li><a href="pages/a.html"> about </a></li>
          <li><a href="pages/b.html"> contact </a></li>             
        </ul>
      </div>
     </div>
    </div>
</div>



<div class="col-lg-8 col-md-8 col-sm-8 col-xs-8">
        <img src="images/home.jpg" class="img-responsive" alt="" id="img1"/>
        </div>
        <div class="col-sm-8">
        <img src="images/home_img1.jpg" class="img-responsive" alt="" id="img_home1"/>
        </div>
        <div class="col-sm-8">
        <img src="images/home_img2.jpg" class="img-responsive" alt="" id="img_home2"/>
        </div>
        <div class="col-sm-8">
        <img src="images/home_img3.jpg" class="img-responsive" alt="" id="img_home3"/>
        </div>

        <div class="col-lg-8 col-md-8 col-sm-8 col-xs-11">
        <h1 class="home_txt"> Opportunities for start-ups' </h1>
</div>

1 个答案:

答案 0 :(得分:0)

检查某些其他元素是否与链接重叠。元素可能在那里,但不可见。