User:Dirkvs/Stylesheets/IC07persist.css

From 2007.igem.org

(Difference between revisions)
Line 1: Line 1:
#tabs {
#tabs {
float:left;  
float:left;  
-
position:absolute;
+
position:relative;
left:60px;  
left:60px;  
width:100%;
width:100%;

Revision as of 22:21, 26 October 2007

#tabs {
	float:left; 
	position:relative;
	left:60px; 
	width:100%;
	background:#ffffff;
	font-size:100%;
	font-weight:bold;
	line-height:normal;
	border-bottom:1px solid #0a5b86; 
}

#tabs ul {
	margin:0;
	padding:10px 10px 0 10px;
	list-style:none;
}

#tabs li {
	display:inline;
	margin:0;
	padding:0;
}

#tabs a {
	float:left;
	background:url("http://2007.igem.org/wiki/images/0/06/IC07_tableft.png") no-repeat left top;
	margin:0;
	padding:0 0 0 4px;
	text-decoration:none;
}

#tabs a span {
	float:left;
	display:block;
	background:url("http://2007.igem.org/wiki/images/8/87/IC07_tabright.png") no-repeat right top;
	padding:5px 15px 4px 6px;
	color:#0a5b86;
}

#tabs a.current {
	float:left;
	background:url("http://2007.igem.org/wiki/images/0/03/IC07_tableftactive.png") no-repeat left top;
	margin:0;
	padding:0 0 0 4px;
	text-decoration:none;
}

#tabs a.current span {
	float:left;
	display:block;
	background:url("http://2007.igem.org/wiki/images/4/4d/IC07_tabrightactive.png") no-repeat right top;
	padding:5px 15px 4px 6px;
	color:#0a5b86;
}

#tabs a:hover span {
	color:#0a5b86;
}

#tabs a:hover {
	background-position:0% -42px;
}

#tabs a:hover span {
	background-position:100% -42px;
}

#tabs a.current:hover span {
	color:#0a5b86;
}

#tabs a.current:hover {
	background-position:0% 0px;
}

#tabs a.current:hover span {
	background-position:100% 0px;
}