User:Avdmeers/StyleSheets/navbar.css

From 2008.igem.org

< User:Avdmeers(Difference between revisions)
(Navigation Bar CSS code borrowed from IGEM 2007 Imperial Team)
 
(One intermediate revision not shown)

Latest revision as of 22:27, 20 May 2008

h1.firstHeading {display: none;}

#contentSub {
	font-size: 0px;
}

#navmenu {
	float: left;
	width: 667px;
	position: relative;
	top: -42px;
	left: 170px;
	padding: 0;
	margin: 0 0 0 0;
	list-style: none;
	z-index:20;
	margin-bottom: 10px;
}

#navmenu ul {
	list-style: none;
	position:absolute;
	border-right: solid 1px #666;
	border-bottom: solid 1px #666;
	border-left: solid 1px #666;
	line-height: 10pt;
}

#navmenu a {
	font-size: 14pt;
	font-family: "Helvetica", Verdana, arial, sans-serif;
	text-decoration: none;
	color: #0a5b86;
	display: block;
        list-style: none;
}

#navmenu a:hover {
	color: #0a5b86;
}

#navmenu li {
	list-style: none;
	padding: 0.2em 0.5em;
	float:left;
	background-color: #FFF;
}

#navmenu li td a:visited { color: #0a5b86; }

#navmenu li ul {
	display: none;
	margin: 0;
	padding-left:0;
	background:white;
	list-style: none;
}

#navmenu li:hover ul {
	display: block;
	list-style: none;
}

#navmenu li li {
	padding: 0.1em 0.5em;
	float:none;
	list-style: none;
}

#navmenu li li:hover {
	background-color: #e6ecf6;
	list-style: none;
}

#navmenu li ul a {
	font-size: 8pt;
	color: #0a5b86;
	list-style: none;
}