Team:UIUC-Illinois/DropdownTest
From 2012.igem.org
(Difference between revisions)
(111 intermediate revisions not shown) | |||
Line 106: | Line 106: | ||
width: 1000px; | width: 1000px; | ||
float: center; | float: center; | ||
- | background-color: | + | background-color: transparent; |
height: 60px; | height: 60px; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
margin-left: auto; | margin-left: auto; | ||
margin-right: auto; | margin-right: auto; | ||
- | margin-top: - | + | margin-top: -102px; |
+ | margin-bottom: 100px; | ||
} | } | ||
#headernavbar{ | #headernavbar{ | ||
- | + | list-style:none; | |
font-weight:bold; | font-weight:bold; | ||
- | |||
float:left; | float:left; | ||
width:100%; | width:100%; | ||
+ | margin:0; | ||
+ | padding:0; | ||
} | } | ||
- | |||
#headernavbar li{ | #headernavbar li{ | ||
float:left; | float:left; | ||
- | |||
position:relative; | position:relative; | ||
+ | text-align:center; | ||
} | } | ||
- | |||
#headernavbar a{ | #headernavbar a{ | ||
+ | margin-left:0px; | ||
display:block; | display:block; | ||
- | + | padding-bottom:20px; | |
- | color: | + | padding-top:20px; |
+ | width: 100px; | ||
+ | color:#ffffff; | ||
background:#F47F24; | background:#F47F24; | ||
- | + | font: bold 16px Arial; | |
+ | |||
} | } | ||
- | |||
#headernavbar a:hover{ | #headernavbar a:hover{ | ||
- | color: | + | color:#ffffff; |
- | background:# | + | background:#003C7D; |
- | text-decoration: | + | text-decoration:none; |
} | } | ||
#headernavbar ul{ | #headernavbar ul{ | ||
- | background: | + | background: #003C7D; |
list-style:none; | list-style:none; | ||
position:absolute; | position:absolute; | ||
- | + | left:-9999px; | |
} | } | ||
- | |||
#headernavbar ul li{ | #headernavbar ul li{ | ||
- | padding-top: | + | padding-top:0px; |
float:none; | float:none; | ||
+ | margin-top:-3px; | ||
} | } | ||
- | |||
#headernavbar ul a{ | #headernavbar ul a{ | ||
- | white-space:nowrap; | + | white-space:nowrap; |
} | } | ||
- | + | #headernavbar li:hover ul{ | |
- | #headernavbar li:hover ul{ | + | left: -15px; |
- | left: | + | |
} | } | ||
- | |||
#headernavbar li:hover a{ | #headernavbar li:hover a{ | ||
- | background:# | + | background:#003C7D; |
- | text-decoration: | + | text-decoration:none; |
} | } | ||
- | |||
#headernavbar li:hover ul a{ | #headernavbar li:hover ul a{ | ||
text-decoration:none; | text-decoration:none; | ||
- | |||
} | } | ||
- | |||
#headernavbar li:hover ul li a:hover{ | #headernavbar li:hover ul li a:hover{ | ||
- | background: # | + | background:#F47F24; |
} | } | ||
Line 196: | Line 188: | ||
<a href="https://2012.igem.org/Team:UIUC-Illinois/Team">Team</a> | <a href="https://2012.igem.org/Team:UIUC-Illinois/Team">Team</a> | ||
<ul> | <ul> | ||
- | <li><a href="https://2012.igem.org/Team:UIUC-Illinois/Team/AboutUs</a></li> | + | <li><a href="https://2012.igem.org/Team:UIUC-Illinois/Team/AboutUs>AboutUs">About Us</a></li> |
<li><a href="https://2012.igem.org/Team:UIUC-Illinois/Team">Undergradates</a></li> | <li><a href="https://2012.igem.org/Team:UIUC-Illinois/Team">Undergradates</a></li> |
Latest revision as of 18:45, 31 May 2012