Team:Michigan/Test Css

From 2012.igem.org

(Difference between revisions)
Line 29: Line 29:
}
}
#navigation ul, #navigation li{ list-style:none; padding:0; margin:0 0 0 0; display:inline; }
#navigation ul, #navigation li{ list-style:none; padding:0; margin:0 0 0 0; display:inline; }
-
#navigation ul li{ float:left; position:relative; background:#00FF00;}
+
#navigation ul li{ float:left; position:relative; }
#navigation ul li a{  
#navigation ul li a{  
Line 70: Line 70:
border:1px solid #444;
border:1px solid #444;
}
}
-
#navigation ul li:hover>ul{ opacity: 1; position:absolute; top:100%; left:0; }
+
#navigation ul li:hover>ul{ opacity: 1; position:absolute; top:100%; left:0; background:#00FF00; }
#navigation ul ul li:hover>ul{ position:absolute; top:0; left:100%; opacity: 1; z-index:497;}
#navigation ul ul li:hover>ul{ position:absolute; top:0; left:100%; opacity: 1; z-index:497;}

Revision as of 23:59, 6 August 2012

Xayona Website Template