Skip to content

Instantly share code, notes, and snippets.

@tdm00
Forked from lincolnthree/gist:1204112
Created September 8, 2011 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdm00/1204137 to your computer and use it in GitHub Desktop.
Save tdm00/1204137 to your computer and use it in GitHub Desktop.
Bootstrap
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Social PM</title>
<link rel="stylesheet" href="bootstrap-1.1.0.css">
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script src="application.js"></script>
</head>
<body>
<div class="topbar-wrapper" style="z-index: 5;">
<div class="topbar ">
<div class="fill">
<div class="container-fluid">
<h3><a href="#">SocialPM</a></h3>
<ul>
<li class="active"><a href="#">Dashboard</a></li>
<li><a href="#">Home</a></li>
<li><a href="#">New Project</a></li>
</ul>
<form action="">
<input type="text" placeholder="Search" />
</form>
<ul class="nav secondary-nav">
<li class="menu">
<a href="#" class="menu">Dropdown</a>
<ul class="menu-dropdown">
<li><a href="#">Option 1</a></li>
<li><a href="#">Option 2</a></li>
<li class="divider"></li>
<li><a href="#">Option 3</a></li>
</ul>
</li>
</ul>
</div>
</div> <!-- /fill -->
</div> <!-- /topbar -->
</div>
<div class="container-fluid">
</div>
</body>
</html>
@tdm00
Copy link
Author

tdm00 commented Sep 8, 2011

I toyed around with your HTML markup a little, but wasn't able to get it to work. I should mention right now that I'm not a javascript, css or bootstrap guru.

Here is a copy of some code that DOES work. I'd started with getting this generated by your application, then start adding your pieces in bit by bit to see what, if anything, starts to break it.

See the previous disclaimer, but it seems like having the HTML 4.01 strict specified would cause problems with the HTML5 rendering of this document. Again, see the previous disclaimer, but this struck me as odd. Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment