Team:HUST-China/Templates/css2

From 2011.igem.org

(Difference between revisions)
Line 14: Line 14:
background-repeat:no-repeat;height: 41px;overflow: visible;padding-left: 20px;}
background-repeat:no-repeat;height: 41px;overflow: visible;padding-left: 20px;}
#main_nav li {float: left;position: relative;z-index: 5;}
#main_nav li {float: left;position: relative;z-index: 5;}
-
#main_nav li a {color: #fff;display: block;width: 91px;height: 35px;text-decoration: none;line-height: 35px;text-align: center; margin-top: 2px;}
+
#main_nav li a {color:#fff;display:block;width:91px;height:35px;text-decoration:none;line-height: 35px;text-align: center; margin-top: 2px;}
#main_nav li a:hover {color: #000;}
#main_nav li a:hover {color: #000;}
-
#main_nav li ul li a {font-size: 12px;width: 100%;height: 25px;line-height: 25px;margin: 0px;}
+
#main_nav li ul li a {font-size: 12px;width: 100%;height: 25px;line-height: 25px;margin: 0px;text-decoration:none;}
#main_nav li ul li a:hover, #main_nav li.focus ul li a:hover {background-image:url(https://static.igem.org/mediawiki/2011/e/e6/Hust_team_subnav_over.png);
#main_nav li ul li a:hover, #main_nav li.focus ul li a:hover {background-image:url(https://static.igem.org/mediawiki/2011/e/e6/Hust_team_subnav_over.png);
background-repeat:no-repeat;background-position:center;background-position:center;}
background-repeat:no-repeat;background-position:center;background-position:center;}

Revision as of 14:34, 5 October 2011