Jump to content

Recommended Posts

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.


post-164335-0-57254100-1374235706_thumb.jpg

post-164335-0-78015300-1374235711_thumb.jpg

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.