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:87px; 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:14px;}
+
#menu ul li a { display:block; width:110px; 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 { 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 { 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:fixed;}
+
#menu ul li ul { border:1px solid #ccc; display:none; position:relative;}
#menu ul li ul li { float:none; width:87px; background:#eee; margin:0;}
#menu ul li ul li { float:none; width:87px; background:#eee; margin:0;}
#menu ul li ul li a { background:none;}
#menu ul li ul li a { background:none;}

Revision as of 06:53, 5 August 2012

XMU