Team:TU-Delft/CSS

From 2012.igem.org

(Difference between revisions)
Line 18: Line 18:
         display: none; /* hides the default heading */
         display: none; /* hides the default heading */
     }
     }
 +
 +
.droplinebar{
 +
overflow: hidden;
 +
}
 +
.droplinebar ul{
 +
margin: 0;
 +
padding: 0;
 +
float: left;
 +
width: 100%;
 +
line-height:20;
 +
font: bold 13px Arial;
 +
background: #fff url('https://static.igem.org/mediawiki/2011/5/51/Jhunavbg.png') repeat-x; /*default background of menu bar*/
 +
}
 +
 +
.droplinebar ul li{
 +
display: inline;
 +
width:190px;
 +
}
 +
 +
.droplinebar ul li a{
 +
float: left;
 +
color: black;
 +
padding: 16px 31px;
 +
text-decoration: none;
 +
}
 +
 +
 +
.droplinebar ul li a:visited{
 +
color: black;
 +
}
 +
 +
.droplinebar ul li a:hover, .droplinebar ul li .current{ /*background of main menu bar links onMouseover*/
 +
color: white;
 +
background: #ffd700 url() center center repeat-x;
 +
}
 +
</style>
</style>
<html>
<html>

Revision as of 23:47, 13 May 2012