Team:UIUC-Illinois/DropdownTest
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<style type="text/css"> | <style type="text/css"> | ||
- | |||
- | |||
- | |||
- | |||
#headernavbar{ | #headernavbar{ | ||
Line 40: | Line 36: | ||
left:-9999px; | left:-9999px; | ||
} | } | ||
+ | |||
#headernavbar ul li{ | #headernavbar ul li{ | ||
padding-top:1px; | padding-top:1px; | ||
float:none; | float:none; | ||
} | } | ||
+ | |||
#headernavbar ul a{ | #headernavbar ul a{ | ||
white-space:nowrap; | white-space:nowrap; | ||
} | } | ||
+ | |||
#headernavbar li:hover ul{ | #headernavbar li:hover ul{ | ||
left:0; | left:0; | ||
} | } | ||
+ | |||
#headernavbar li:hover a{ | #headernavbar li:hover a{ | ||
background:#CECECE; | background:#CECECE; | ||
- | text-decoration: | + | text-decoration:bold; |
} | } | ||
+ | |||
#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: #F47F24; | background: #F47F24; | ||
} | } | ||
+ | |||
</style> | </style> | ||
- | |||
<ul id="headernavbar"> | <ul id="headernavbar"> | ||
<li> | <li> |
Revision as of 16:24, 31 May 2012