Click here to Skip to main content
15,898,790 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
I have tried it using bootstrap through a vedio turorial but it is not woriking

for small device the button of navbar-header doesnot toggle.

What I have tried:

HTML
<div class="container">

	<div class="row">

			<div class="container">

				<div class="navbar-header">

					<a href="#" class="navbar-brand">Universal MEdia</a>

					
					

						<span class="icon-bar"></span>
						<span class="icon-bar"></span>
						<span class="icon-bar"></span>

					
				</div>

				<div class="collapse navbar-collapse" id="mynav">
					<ul class="nav navbar-nav">
						<li><a href="#">Hoome</a></li>						<li><a href="#">ABout</a></li>						<li><a href="#">Services</a></li>						<li><a href="#">Courses</a></li>						<li><a href="#">Contact Us</a></li>					</ul>
				</div>

			</div>

	</div>

</div>
Posted
Updated 29-Oct-17 22:57pm
v2
Comments
Karthik_Mahalingam 30-Oct-17 1:54am    
delete the previous question Why it does not toggle?[^]

1 solution

If you got the code from a video tutorial, then go back to YouTube (or wherever the tutorial came from) and ask there. The author should have a much, much better idea how his code works* that we would and should be able to help you better than we could.


* Assuming it's his code, many video tutorials are produced by people who have no idea what they are doing.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900