Team:UIUC-Illinois/DropdownTest
From 2012.igem.org
(Difference between revisions)
(86 intermediate revisions not shown) | |||
Line 103: | Line 103: | ||
/*Reformatting End*/ | /*Reformatting End*/ | ||
- | # | + | #headernavigation{ |
+ | width: 1000px; | ||
+ | float: center; | ||
+ | background-color: transparent; | ||
+ | height: 60px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | margin-top: -102px; | ||
+ | margin-bottom: 100px; | ||
+ | } | ||
+ | |||
+ | #headernavbar{ | ||
list-style:none; | list-style:none; | ||
font-weight:bold; | font-weight:bold; | ||
- | |||
- | |||
float:left; | float:left; | ||
width:100%; | width:100%; | ||
- | + | margin:0; | |
- | + | padding:0; | |
- | + | ||
- | + | ||
} | } | ||
- | # | + | #headernavbar li{ |
- | + | float:left; | |
- | + | ||
position:relative; | position:relative; | ||
+ | text-align:center; | ||
} | } | ||
- | # | + | #headernavbar a{ |
+ | margin-left:0px; | ||
display:block; | display:block; | ||
- | + | padding-bottom:20px; | |
- | color:# | + | padding-top:20px; |
- | background:# | + | width: 100px; |
+ | color:#ffffff; | ||
+ | background:#F47F24; | ||
+ | font: bold 16px Arial; | ||
+ | |||
+ | } | ||
+ | #headernavbar a:hover{ | ||
+ | color:#ffffff; | ||
+ | background:#003C7D; | ||
text-decoration:none; | text-decoration:none; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
#headernavbar ul{ | #headernavbar ul{ | ||
- | background:# | + | background: #003C7D; |
list-style:none; | list-style:none; | ||
position:absolute; | position:absolute; | ||
Line 157: | Line 151: | ||
} | } | ||
#headernavbar ul li{ | #headernavbar ul li{ | ||
- | padding-top: | + | padding-top:0px; |
float:none; | float:none; | ||
+ | margin-top:-3px; | ||
} | } | ||
#headernavbar ul a{ | #headernavbar ul a{ | ||
Line 164: | Line 159: | ||
} | } | ||
#headernavbar li:hover ul{ | #headernavbar li:hover ul{ | ||
- | left: | + | left: -15px; |
} | } | ||
#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{ | ||
Line 174: | Line 169: | ||
} | } | ||
#headernavbar li:hover ul li a:hover{ | #headernavbar li:hover ul li a:hover{ | ||
- | background:# | + | background:#F47F24; |
} | } | ||
+ | |||
Latest revision as of 18:45, 31 May 2012