Template:Team:Northwestern/Template/nav

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
<meta charset="UTF-8">
<meta charset="UTF-8">
<title>Dropdown menu from bootstrap</title>
<title>Dropdown menu from bootstrap</title>
 +
<style>
 +
.logo {
 +
display: block;
 +
position: relative;
 +
float: left;
 +
}
 +
</style>
</head>
</head>
<body>
<body>
<div class="container">
<div class="container">
-
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+
<div class="navbar navbar-default navbar-fixed-top" role="navigation">
   <div class="container">
   <div class="container">
      
      
Line 18: Line 25:
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </button>
       </button>
-
<a href="https://2014.igem.org/Main_Page"><img src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png" width=40px;></a>
+
<a href="https://2014.igem.org/Main_Page"><img class="logo" src="https://static.igem.org/mediawiki/igem.org/6/60/Igemlogo_300px.png" width=40px;></a>
<a class="navbar-brand" href="https://2014.igem.org/Team:Northwestern/Home">Home</a></li>
<a class="navbar-brand" href="https://2014.igem.org/Team:Northwestern/Home">Home</a></li>
       </div>
       </div>

Revision as of 00:21, 4 September 2014

Dropdown menu from bootstrap