FakeApeRape Posted July 19, 2013 Share Posted July 19, 2013 Hi all, I'm new to twitter bootstrap, and have been following an online tutorial on setting up a navbar. The problem is, I simply cannot get it to render as it should as per example. I have checked, and rechecked the code and see no syntax error any obvious problem. Here's what I'm supposed to see with the example I'm following. Look at image 'good' However, this is what I get if you look at image 'bad' I really don't know why this is happening. My include paths are correct, the files are there from a fresh full download package from TB website. Can anyone please help. Here is my 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> See 3:44 for the tutorial. 'code' http://www.youtube.com/watch?v=gPbp1JecLuU Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/280317-simple-twitter-bootstrap-test-wont-display/ Share on other sites More sharing options...
gristoi Posted July 19, 2013 Share Posted July 19, 2013 have you checked if your stylesheets have loaded? Quote Link to comment https://forums.phpfreaks.com/topic/280317-simple-twitter-bootstrap-test-wont-display/#findComment-1441385 Share on other sites More sharing options...
FakeApeRape Posted July 19, 2013 Author Share Posted July 19, 2013 Hi - Yes if that means checking the style sheet tab on DW CS4? Oddly, I can get the funky button effects and that OK. Just seems the layout CSS isn't doing anything. I'm really baffled by this. I will also try and load it all up on another client and see what I get. Quote Link to comment https://forums.phpfreaks.com/topic/280317-simple-twitter-bootstrap-test-wont-display/#findComment-1441412 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.