Team:Freiburg Bioware/css menu
From 2010.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
#menu {list-style-type:none; margin:40px auto 100px auto; padding:0; width:608px;} | #menu {list-style-type:none; margin:40px auto 100px auto; padding:0; width:608px;} | ||
- | #menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width: | + | #menu li {float:left; padding:0; margin:0 1px 0 0; position:relative; width:119px; height:3em; z-index:100;} |
#menu li dl {position:absolute; top:0; left:0; padding-bottom:0;} | #menu li dl {position:absolute; top:0; left:0; padding-bottom:0;} | ||
#menu li a, #menu li a:visited {text-decoration:none;} | #menu li a, #menu li a:visited {text-decoration:none;} | ||
Line 45: | Line 45: | ||
#menu li:hover dl, #menu li a:hover dl {padding-bottom:10px;} | #menu li:hover dl, #menu li a:hover dl {padding-bottom:10px;} | ||
#menu table {border-collapse:collapse; padding:0; margin:-1px; font-size:1em;} | #menu table {border-collapse:collapse; padding:0; margin:-1px; font-size:1em;} | ||
- | #menu dl {width: | + | #menu dl {width: 119px; margin: 0; padding: 0; background: transparent;} |
#menu dt {margin:0; padding: 0;} | #menu dt {margin:0; padding: 0;} | ||
Line 71: | Line 71: | ||
#menu b {display:block; overflow:hidden; height:1px;} | #menu b {display:block; overflow:hidden; height:1px;} | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
#menu li:hover b.p2, #menu a:hover b.p2 {background:#fff;} | #menu li:hover b.p2, #menu a:hover b.p2 {background:#fff;} |
Revision as of 01:16, 7 October 2010