本文介绍了我真的需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图让我的导航响应但我使用的代码似乎没有给我非常理想的结果;
在我的浏览器中,有只显示一个按钮,列表项不显示。有人可以帮帮我。我真的想知道详细的代码,包括如何将
bootstrap附加到Web表单以使其响应。 这是我使用的代码..
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>DoXtrack</title>
<link href="...bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<script src="...bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<link href="css/bootstrap.css" rel="stylesheet" />
<link href="StyleSheet.css" rel="stylesheet" />
</head>
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="navbar-example" aria-expanded="false">
<span class="sr-only">Menu</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="navbar-example">
<ul class="nav navbar-nav">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
</div>
</nav>
</body>
</html>
推荐答案
欢迎来到MSDN论坛。
Welcome to the MSDN forum.
参考描述,你的问题是关于ASP.NET。由于我们的论坛是讨论VS IDE,请重定向到这个适当的论坛: 并开始一个新线程以获得更好的支持,
感谢您的理解。
Refer to the description, your issue is about the ASP.NET. Since our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://forums.asp.net/ and start a new thread for a better support, thank you for your understanding.
祝你好运,
Sara
这篇关于我真的需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!