Template:Team:KULeuven/Common2/Submenutest

From 2009.igem.org

(Difference between revisions)
Line 59: Line 59:
     position:absolute;
     position:absolute;
     left:0px;
     left:0px;
-
     top: 265px;
+
     top: 230px;
 +
    left:5px;
     float: left;
     float: left;
     background:url(https://static.igem.org/mediawiki/2009/9/96/Headerv2.png) no-repeat;
     background:url(https://static.igem.org/mediawiki/2009/9/96/Headerv2.png) no-repeat;
}
}
-
div#submenu2 a {
+
div#submenu2 ul a{
 +
    position: relative;
 +
    margin-top:65px;
 +
}
 +
div#submenu2 ul a {
     display: block;
     display: block;
     background-color:none;
     background-color:none;
     color: white;
     color: white;
     padding: 3px 3px 3px 16px;
     padding: 3px 3px 3px 16px;
-
     margin: 0 5px 1px -14px;
+
     margin: 0 10px 0px -14px;
     text-decoration: none;
     text-decoration: none;
     font-weight: bold;
     font-weight: bold;
Line 77: Line 82:
}
}
-
div#submenu2 a:hover {
+
div#submenu2 ul a:hover {
     color: #499CCD;
     color: #499CCD;
     background-color: #424240;
     background-color: #424240;

Revision as of 21:26, 7 October 2009