为了账号安全,请及时绑定邮箱和手机立即绑定

下拉菜单一直不对啊

修改了jqurey版本,还是不行啊

<!DOCTYPE html>

<html>

  <head>

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->

    <title>墙外节点</title>


    <!-- Bootstrap -->

    <link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.css" rel="stylesheet">

<link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap-theme.min.css">


    <style>

   body{padding-top:70 px;}

</style>

  </head>

  <body>


<div>

  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">

    Dropdown

    <span></span>

  </button>

  <ul role="menu" aria-labelledby="dropdownMenu1">

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>

  </ul>

</div>

<div>

  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu2" data-toggle="dropdown" aria-expanded="true">

    Dropdown

    <span></span>

  </button>

  <ul role="menu" aria-labelledby="dropdownMenu2">

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>

    <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>

  </ul>

</div>

<script src="http://cdn.bootcss.com/jquery/1.11.2/jquery.min.js"></script>


<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->

<script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>



  </body>

</html>


正在回答

1 回答

你的大大的笨蛋

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
基于bootstrap的网页开发
  • 参与学习       187668    人
  • 解答问题       734    个

Bootstrap框架的基础教程,学会用Bootstrap前端框架搭建网页

进入课程

下拉菜单一直不对啊

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信