Team:Valencia/menu

From 2012.igem.org

(Difference between revisions)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
.bg {background: url(http://2012.igem.org/wiki/images/c/cf/Button.png);}
.bg {background: url(http://2012.igem.org/wiki/images/c/cf/Button.png);}
-
.menu {padding:0 0 0; margin:0; list-style:none; height:35px; width: 1707px; background:#929292 url(http://2012.igem.org/wiki/images/7/72/Menu_3.jpg) repeat-x; position:relative; font-family: Verdana, Sans-Serif; }
+
.menu {padding:0 0 0; margin:0; list-style:none; height:35px; width: 975px; background:#929292 url(http://2012.igem.org/wiki/images/7/72/Menu_3.jpg) repeat-x; position:relative; font-family: Verdana, Sans-Serif; }
.menu li.top {display:block; float:left; position:left;}
.menu li.top {display:block; float:left; position:left;}
.menu li a.top_link {display:block; float:left; height:40px; line-height:33px; color:#F5F5C4; text-decoration:none; font-size:14px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;}
.menu li a.top_link {display:block; float:left; height:40px; line-height:33px; color:#F5F5C4; text-decoration:none; font-size:14px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;}
Line 12: Line 12:
.menu li:hover > a.top_link span {background:url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat right top;}
.menu li:hover > a.top_link span {background:url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat right top;}
.menu li:hover > a.top_link span.down {background:url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat right top;}
.menu li:hover > a.top_link span.down {background:url(http://2012.igem.org/wiki/images/c/cf/Button.png) no-repeat right top;}
-
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
+
.menu table {border-collapse:collapse; width: 0px; height:0; position:absolute; top:0; left:0;}
.menu a:hover {visibility:visible;}
.menu a:hover {visibility:visible;}
.menu li:hover {position:relative; z-index:200;}
.menu li:hover {position:relative; z-index:200;}
Line 19: Line 19:
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
-
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width: 1707px;; height:0; margin:0; padding:0; list-style:none;}
+
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; height:0; margin:0; padding:0; list-style:none;}
.menu :hover ul.sub {left:2px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #929292; white-space:nowrap; width:200px; height:auto;}
.menu :hover ul.sub {left:2px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #929292; white-space:nowrap; width:200px; height:auto;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}

Revision as of 12:19, 14 September 2012