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; 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: 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 li.top {display:block; float:left; position:relative;}
+
.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;}
.menu li a.top_link span {float:left; font-weight:bold; display:block; padding:0 24px 0 12px; height:40px;}
.menu li a.top_link span {float:left; font-weight:bold; display:block; padding:0 24px 0 12px; height:40px;}
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:0; 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; width: 1707px;; 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;}
Line 28: Line 28:
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
-
{left:90px; top:-4px; background: #fff; padding:3px 0; border:1px solid 95d2ee; white-space:nowrap; width:93px; z-index:200; height:auto;}
+
{left:0px; top:-4px; background: #fff; padding:3px 0; border:1px solid 95d2ee; white-space:nowrap; width:93px; z-index:200; height:auto;}
/*3ºmenu */
/*3ºmenu */
-
.menu :hover ul.tres {left:200px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #929292; white-space:nowrap; width:200px; height:auto;}
+
.menu :hover ul.tres {left:0px; top:40px; right:0px; background: #fff; padding:0px 0; border:1px solid #929292; white-space:nowrap; width:200px; height:auto;}
.menu :hover ul.tres li {display:block; height:20px; position:relative; float:left; width:250px;}
.menu :hover ul.tres li {display:block; height:20px; position:relative; float:left; width:250px;}
.menu :hover ul.tres li a {font-weight:normal;display:block; font-size:12px; height:20px; width:192px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}
.menu :hover ul.tres li a {font-weight:normal;display:block; font-size:12px; height:20px; width:192px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}

Revision as of 11:39, 14 September 2012