Template:UIUC Illinois Bioware Background
From 2010.igem.org
(Difference between revisions)
(14 intermediate revisions not shown) | |||
Line 94: | Line 94: | ||
/**************** horizontal menu coding *****************/ | /**************** horizontal menu coding *****************/ | ||
#hmenu { | #hmenu { | ||
- | |||
float:left; | float:left; | ||
+ | position:relative; | ||
width: 100%; | width: 100%; | ||
} | } | ||
Line 112: | Line 112: | ||
vertical-align:middle; | vertical-align:middle; | ||
text-transform:uppercase; | text-transform:uppercase; | ||
- | display:table-cell; | + | display:table-cell; |
vertical-align:middle; | vertical-align:middle; | ||
margin:0; | margin:0; | ||
Line 148: | Line 148: | ||
} | } | ||
- | #hmenu li { | + | #hmenu ul li { |
position:relative; | position:relative; | ||
} | } | ||
Line 158: | Line 158: | ||
} | } | ||
- | # | + | #hmenu ul ul { |
position: absolute; | position: absolute; | ||
z-index: 500; | z-index: 500; | ||
} | } | ||
- | + | div#hmenu ul ul { | |
- | + | display: none; | |
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | div#hmenu ul li:hover ul |
- | + | {display: block;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | display: block | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | div# | + | div#hmenu ul ul, |
- | div# | + | div#hmenu ul li:hover ul ul, |
+ | div#hmenu ul ul li:hover ul ul | ||
{display: none;} | {display: none;} | ||
- | div# | + | div#hmenu ul li:hover ul, |
- | div# | + | div#hmenu ul ul li:hover ul, |
+ | div#hmenu ul ul ul li:hover ul | ||
{display: block;} | {display: block;} | ||
- | + | body { | |
- | + | behavior: url(csshover.htc); | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | <!--[if IE]> | |
- | + | <style type="text/css" media="screen"> | |
- | + | body { | |
- | + | behavior: url(csshover.htc); | |
- | + | font-size: 100%; | |
- | + | ||
- | + | ||
- | + | ||
- | font-size: | + | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #hmenu ul li {float: left; width: 100%;} |
- | + | #hmenu ul li a {height: 1%;} | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | height: | + | |
- | + | ||
- | } | + | |
- | # | + | #hmenu a, #hmenu h2 { |
- | + | font: bold 0.7em/1.4em arial, helvetica, sans-serif; | |
} | } | ||
+ | </style> | ||
+ | <![endif]--> | ||
</style> | </style> | ||
</html> | </html> |
Latest revision as of 20:35, 29 June 2010