Team:UCLA/Template
From 2014.igem.org
(Difference between revisions)
Anuvedverma (Talk | contribs) (Created page with "<html> <style> #menu li{ position:relative; float:left; list-style:none; } #menu a{ color:white; background:black; padding:5px; text-decoration:none; width:150px; display:block; ...") |
Anuvedverma (Talk | contribs) |
||
Line 23: | Line 23: | ||
} | } | ||
+ | #menu li ul{ | ||
+ | background:black; | ||
+ | display:none; | ||
+ | position:absolute; | ||
+ | text-align:center; | ||
+ | top:25px; | ||
+ | right:0px; | ||
+ | } | ||
+ | #menu li:hover ul{ | ||
+ | display:block; | ||
+ | } | ||
+ | #dropdown_menu li ul li{ | ||
+ | position:relative; | ||
+ | |||
+ | } | ||
</style> | </style> | ||
Line 28: | Line 43: | ||
<ul id = "menu"> | <ul id = "menu"> | ||
<li><a href="#">Home</a></li> | <li><a href="#">Home</a></li> | ||
- | <li><a href="#">Project</a></li> | + | <li><a href="#">Project</a> |
- | <li><a href="#">Human Practices</a></li> | + | <ul> |
- | <li><a href="#">Parts</a></li> | + | <li><a href="#">Page1</a></li> |
+ | <li><a href="#">Page2</a></li> | ||
+ | <li><a href="#">Page3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#">Human Practices</a> | ||
+ | <ul> | ||
+ | <li><a href="#">Page1</a></li> | ||
+ | <li><a href="#">Page2</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="#">Parts</a> | ||
+ | <ul> | ||
+ | <li><a href="#">Page1</a></li> | ||
+ | <li><a href="#">Page2</a></li> | ||
+ | <li><a href="#">Page3</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
</ul> | </ul> | ||
</html> | </html> |
Revision as of 11:00, 29 April 2014