Jump to content

Bootstrap dropdown issues

Recommended Posts



I'm quite new to bootstrap and not an expert HTML/CSS coder either, but I'm hoping to learn more. The first problem I've encountered is the dropdown menu. I'm basically not able to open it up, even if I'm using the example provided on w3schools. This is the code I'm using, can anyone see why it's not opening up?


<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Home
<span class="caret"></span></button>
<ul class="dropdown-menu">
<li><a href="#">CV</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>

Share this post

Link to post
Share on other sites

There are an unlimited number of interactions on a page involving markup, styling and script; a fragment of code without context is probably not going to be much help in finding a solution. A link to the page or more complete code would make it possible to do diagostics.

Share this post

Link to post
Share on other sites

I suppose you DID include all the links to jquery, bootstrap jquery and bootstrap css as shown in w3school example, as you did not show these I'm just making sure.

Share this post

Link to post
Share on other sites

Join the conversation

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

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...