Template:Caltech PracticeBar
From 2012.igem.org
(Difference between revisions)
(Created page with "<html> <head> <!-- This is a comment in html --> <!-- Begin the internal style sheet --> <style type="text/css"> - →This is a comment in css: /*Don't display the page title. ...") |
|||
Line 144: | Line 144: | ||
/************************************************************/ | /************************************************************/ | ||
- | + | #coolMenu, | |
- | + | #coolMenu ul { | |
- | + | list-style: none; | |
- | + | } | |
- | + | #coolMenu { | |
- | + | float: left; | |
- | + | } | |
- | + | #coolMenu > li { | |
- | + | float: left; | |
- | + | } | |
- | + | #coolMenu li a { | |
- | + | display: block; | |
- | + | height: 2em; | |
- | + | line-height: 2em; | |
+ | padding: 0 1.5em; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | #coolMenu ul { | ||
+ | position: absolute; | ||
+ | display: none; | ||
+ | z-index: 999; | ||
+ | } | ||
+ | #coolMenu ul li a { | ||
+ | width: 80px; | ||
+ | } | ||
+ | #coolMenu li:hover ul { | ||
+ | display: block; | ||
+ | } | ||
</style> | </style> | ||
</head> | </head> | ||
</html> | </html> |
Revision as of 23:52, 17 July 2012