Template:Team:UC Davis/Head
From 2010.igem.org
(Difference between revisions)
Line 25: | Line 25: | ||
- | ul#Navigation | + | ul#Navigation li{ |
width:200; | width:200; | ||
background-color: #2554C7; | background-color: #2554C7; | ||
Line 32: | Line 32: | ||
padding-top:2px; | padding-top:2px; | ||
padding-bottom:2px; | padding-bottom:2px; | ||
- | display:inline;} | + | display:inline; |
+ | position:relative; | ||
+ | } | ||
- | + | #Navigation li:hover{ | |
background-color: #3BB9FF; | background-color: #3BB9FF; | ||
} | } | ||
Line 42: | Line 44: | ||
#Navigation li ul{ | #Navigation li ul{ | ||
- | display: none; | + | display:none; |
position: absolute; | position: absolute; | ||
- | + | width: 140px; | |
- | + | list-style:none; | |
+ | left:-20px; | ||
+ | padding-top:-5px; | ||
+ | z-index:-1; | ||
+ | } | ||
+ | #Navigation li:hover ul{ | ||
+ | display:block; | ||
} | } | ||
- | #Navigation li | + | #Navigation li ul li{ |
+ | width:100%; | ||
+ | display:block; | ||
+ | padding: 4px 2px 2px 5px; | ||
+ | background-color:#000; | ||
+ | } | ||
+ | |||
+ | #Navigation li ul:hover li{ | ||
+ | display:block; | ||
+ | } | ||
Revision as of 09:56, 15 June 2010
|