i'm new twitter bootstrap, , have been following online tutorial on setting navbar. problem is, cannot render should per example. have checked, , rechecked code , see no syntax error obvious problem. here's i'm supposed see example i'm following.
1 "proper render"
however, get.
2 "bad render"
i don't know why happening. include paths correct, files there fresh full download package tb website.
here full code.
<!doctype html> <html> <head> <meta charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>unti</title> <!-- bootstrap --> <link rel="stylesheet" href="assets/css/bootstrap.css"> <link rel="stylesheet" href="assets/css/bootstrap-responsive.css"> </head> <body> <div class="navbar navbar-fixed-top"> <div class="navbar-inner"> <div class="container"> <a href="#" class="brand">responsive test!</a> <div class="nav-collapse collapse"> <ul class"nav"> <li> <a href="#">testnav</a> </li> <li> <a href="#">testnav</a> </li> <li> <a href="#">testnav</a> </li> </ul> </div> </div> </div> </div> <script src="http://code.jquery.com/jquery-latest.js"></script> <script src="assets/js/bootstrap.js"></script> </body> </html> this code tutorial.
(http) ://i.imgur.com/dmniiwf.jpg
<ul class="nav"> forgot add = after class
Comments
Post a Comment