Team:St Andrews/defaulttemplate
From 2010.igem.org
(Difference between revisions)
Line 202: | Line 202: | ||
+ | #menu li a{ | ||
+ | width:100px; | ||
+ | height: 30px; | ||
+ | display: block; | ||
+ | text-decoration:none; | ||
+ | text-align: center; | ||
+ | line-height: 30px; | ||
+ | background-color: black; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #menu li a:hover{ | ||
+ | background-color: red; | ||
+ | } | ||
+ | |||
+ | #menu ul ul{ | ||
+ | position: absolute; | ||
+ | top: 30px; | ||
+ | visibility: hidden; | ||
+ | } | ||
+ | |||
+ | #menu ul li:hover ul{ | ||
+ | visibility:visible; | ||
+ | } | ||
Revision as of 20:52, 27 October 2010