Team:Virginia/Notebook

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
     }
     }
 +
 +
 +
#nav, #nav ul {
 +
padding: 0;
 +
margin: 0;
 +
list-style: none;
 +
  text-align:center;
 +
   
 +
}
 +
 +
#nav a {
 +
display: block;
 +
    color:white;
 +
    padding: 5px;
 +
}
 +
 +
 +
 +
#nav >li:hover{
 +
  text-decoration:underline;
 +
  color:white;
 +
  background:yellow;
 +
}
 +
 +
#nav li {
 +
float: left;
 +
width: 108px;
 +
    background:green;
 +
}
 +
 +
 +
#nav li ul {
 +
position: absolute;
 +
width: 108px;
 +
left: -999em;
 +
}
 +
 +
#nav li ul li{
 +
  background:blue;
 +
}
 +
 +
#nav li:hover ul {
 +
left: auto;
 +
}
 +
    
    

Revision as of 20:30, 23 June 2014