After spending nearly 4 hours stuck on this, I have a question regarding my use of Bootstrap in building a mobile-friendly website with asp.net. I am new to bootstrap and trying to implement a collapsible menu functionality for mobile view. Currently, I have a div with the class "navbar navbar-fixed-top" and now I want another div to come after it. Below is the code snippet:
<div class="navbar navbar-fixed-top"><!--First div-->
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Project name</a>
<div class="nav-collapse">
<ul class="nav">
<li ><a href="#">Home</a></li>
<li class="active"><a href="GridView.aspx">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div id="Second"> <h2 style="text-align:center;">I want this div to come after the above div</h2></div>
While the output is as expected on mobile devices, I am facing an issue where the Second div is not visible when viewed on a desktop.
Your help would be greatly appreciated.