Difference between revisions of "Team:Hong Kong HKU/ex"
Line 295: | Line 295: | ||
.annItem li {list-style: none; margin: 5px} | .annItem li {list-style: none; margin: 5px} | ||
− | + | #main_menu | |
{ | { | ||
width: 100%; | width: 100%; | ||
Line 305: | Line 305: | ||
position:fixed; | position:fixed; | ||
} | } | ||
+ | #line | ||
+ | { | ||
+ | display:inline; | ||
+ | } | ||
+ | |||
+ | #main_menu ul | ||
+ | { | ||
+ | list-style:none; | ||
+ | margin:0; | ||
+ | padding:0; | ||
+ | } | ||
+ | |||
+ | #main_menu li{ | ||
+ | padding:0px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #main_menu li ul{ | ||
+ | display:none; | ||
+ | height:auto; | ||
+ | padding:0px; | ||
+ | border:0px; | ||
+ | position:absolute; | ||
+ | width:200px; | ||
+ | z-index:100; | ||
+ | /*top:1em; | ||
+ | /*left:0;*/ | ||
+ | } | ||
+ | |||
+ | #main_menu li:hover ul{ | ||
+ | display:block; | ||
+ | } | ||
#main_menu a | #main_menu a | ||
Line 347: | Line 379: | ||
text-align: left; | text-align: left; | ||
} | } | ||
− | + | ||
</style> | </style> | ||
− | + | ||
<header id = "main_menu"> | <header id = "main_menu"> | ||
<nav id = "main_menu_nav"> | <nav id = "main_menu_nav"> | ||
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU">HOME</a> | + | <ul> |
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Team">TEAM</a> | + | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU">HOME</a> |
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Project">PROJECT</a> | + | <ul style="margin-left:100px"> |
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Parts">PARTS</a> | + | <li><a href="@">a</a></li> |
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Modeling">MODELING</a> | + | <li><a href="@">b</a></li> |
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Attributions">ATTRIBUTIONS</a> | + | </ul> |
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Practices">HUMANPRACTICES</a> | + | </li> |
− | <a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Safety">SAFETY</a> | + | |
+ | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Team">TEAM</a> | ||
+ | <ul style="margin-left:200px"> | ||
+ | <li><a href="@">a</a></li> | ||
+ | <li><a href="@">b</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Project">PROJECT</a> | ||
+ | <ul style="margin-left:320px"> | ||
+ | <li><a href="@">a</a></li> | ||
+ | <li><a href="@">b</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Parts">PARTS</a> | ||
+ | <ul style="margin-left:450px"> | ||
+ | <li><a href="@">a</a></li> | ||
+ | <li><a href="@">b</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Modeling">MODELING</a> | ||
+ | <ul style="margin-left:590px"> | ||
+ | <li><a href="@">a</a></li> | ||
+ | <li><a href="@">b</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Attributions">ATTRIBUTIONS</a> | ||
+ | <ul style="margin-left:780px"> | ||
+ | <li><a href="@">a</a></li> | ||
+ | <li><a href="@">b</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Practices">HUMANPRACTICES</a> | ||
+ | <ul style="margin-left:1025px"> | ||
+ | <li><a href="@">a</a></li> | ||
+ | <li><a href="@">b</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li id="line"><a href = "https://2015.igem.org/Team:Hong_Kong_HKU/Safety">SAFETY</a> | ||
+ | <ul style="margin-left:1215px"> | ||
+ | <li><a href="@">a</a></li> | ||
+ | <li><a href="@">b</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
</nav> | </nav> | ||
</header> | </header> | ||
+ | |||
<!--<script> | <!--<script> |
Revision as of 14:33, 14 September 2015
|
|
|