Team:Hong Kong HKU/templates/menu
From 2013.igem.org
(Difference between revisions)
(One intermediate revision not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
- | <style type="text/css"> | + | <div id="divlinks"> |
- | + | ||
- | .tab{ | + | <div id="divNav"> |
+ | <style type="text/css"> | ||
+ | .tab{ | ||
font-family: arial, verdana, san-serif; | font-family: arial, verdana, san-serif; | ||
font-size: 14px; | font-size: 14px; | ||
Line 14: | Line 16: | ||
color:00CC66; | color:00CC66; | ||
} | } | ||
+ | |||
+ | /*****remove the list style****/ | ||
+ | #nav { | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | list-style:none; | ||
+ | } | ||
+ | |||
+ | /*****LI display inline *****/ | ||
+ | #nav li { | ||
+ | float:left; | ||
+ | display:block; | ||
+ | width:190px; | ||
+ | background:#00661A; | ||
+ | position:relative; | ||
+ | z-index:500; | ||
+ | margin:0 1px; | ||
+ | } | ||
+ | @charset "utf-8"; | ||
+ | |||
+ | |||
+ | |||
+ | #divlinks{ | ||
+ | width:960px; | ||
+ | background:#666; | ||
+ | |||
+ | } | ||
+ | |||
+ | #divNav{ | ||
+ | width:960px; | ||
+ | background:#000; | ||
+ | height:32px; | ||
+ | margin:0 auto; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #divAbout { | ||
+ | width:960px; | ||
+ | background:#000; | ||
+ | margin:0 auto; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #slideshow{ | ||
+ | text-align:center; | ||
+ | } | ||
+ | p{font-family:"Times New Roman", Times, serif;} | ||
+ | #divFooterNav{ | ||
+ | width:960px; | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /*****parent menu*****/ | ||
#nav li a { | #nav li a { | ||
display:block; | display:block; | ||
Line 64: | Line 124: | ||
} | } | ||
</style> | </style> | ||
+ | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
Line 105: | Line 166: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
<input type=hidden name=arav value="5*#*#*3*#*#*2*#*#*1*#*#*3*#*#*2"><ul id='nav'> | <input type=hidden name=arav value="5*#*#*3*#*#*2*#*#*1*#*#*3*#*#*2"><ul id='nav'> | ||
<li> <a href='#'>E. CAPSID</a> | <li> <a href='#'>E. CAPSID</a> | ||
Line 141: | Line 203: | ||
</li> | </li> | ||
</ul> | </ul> | ||
- | + | ||
- | </ | + | </div> |
+ | </div> | ||
+ | </body> | ||
</html> | </html> |
Latest revision as of 16:26, 28 August 2013