YB index
From 2012.igem.org
(Difference between revisions)
Line 67: | Line 67: | ||
#menu ul { list-style: none; margin: 0px; padding: 0px; } | #menu ul { list-style: none; margin: 0px; padding: 0px; } | ||
#menu ul li { float:left; margin-left:2px;} | #menu ul li { float:left; margin-left:2px;} | ||
- | #menu ul li a { display:block; width: | + | #menu ul li a { display:block; width:120px; height:28px; line-height:28px; text-align:center; background:url(http://www.aa25.cn/upload/2010-06/27/nav_bg2.gif) 0 0 no-repeat; font-size:16px;} |
#menu ul li a:hover {text-align:center; background:url(http://www.aa25.cn/upload/2010-06/27/nav_bg3.gif) 0 0 no-repeat;} | #menu ul li a:hover {text-align:center; background:url(http://www.aa25.cn/upload/2010-06/27/nav_bg3.gif) 0 0 no-repeat;} | ||
#menu ul li a#current {text-align:center; background:url(http://www.aa25.cn/upload/2010-06/27/nav_bg1.gif) 0 0 no-repeat; font-weight:bold; color:#fff;} | #menu ul li a#current {text-align:center; background:url(http://www.aa25.cn/upload/2010-06/27/nav_bg1.gif) 0 0 no-repeat; font-weight:bold; color:#fff;} | ||
#menu ul li ul { border:1px solid #ccc; display:none; position:relative;} | #menu ul li ul { border:1px solid #ccc; display:none; position:relative;} | ||
- | #menu ul li ul li { float:none; width: | + | #menu ul li ul li { float:none; width:120px; background:#eee; margin:0;} |
- | #menu ul li ul li a { background:none;} | + | #menu ul li ul li a { background:none;font-size:11px;} |
#menu ul li ul li a:hover { background:#333; color:#ff0;} | #menu ul li ul li a:hover { background:#333; color:#ff0;} | ||
#menu ul li:hover ul { display:block;} | #menu ul li:hover ul { display:block;} |
Revision as of 07:11, 5 August 2012