Team:HIT-Harbin/css/contentstyle.css
From 2014.igem.org
(Difference between revisions)
Line 29: | Line 29: | ||
#team{width:74px;} | #team{width:74px;} | ||
#nav a:hover {color:#2F798C} | #nav a:hover {color:#2F798C} | ||
+ | body { | ||
+ | background-image:url(text.txt); /* for IE6 */ | ||
+ | background-attachment:fixed; | ||
+ | } | ||
+ | #bottomNav { | ||
+ | z-index:999; | ||
+ | position:fixed; | ||
+ | bottom:0; /*去掉此行则固定在页面顶部*/ | ||
+ | left:0; | ||
+ | width:100%; | ||
+ | _position:absolute; /* for IE6 */ | ||
+ | _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ | ||
+ | overflow:visible; | ||
+ | } |
Revision as of 13:10, 22 July 2014
/* CSS Document */ ul,li,body,h1,#topCentent,#rightRed,#logo{ margin:0; padding:0; }
body { width:1300px;height:1014px; font-family: Arial; font-size: 12px;
padding-top:132px; background-color:#183D46;
}
- topCentent{
height:2000px;
width:1109px; background-image:url(); margin:0px auto;
margin-top:-150px;
}
- topCentent #rightRed{margin:0 950px;}
- nav {width:1300px;padding-top:165px;margin-right: auto;margin-left: auto;font-family:Ebrima;text-decoration:none;font-weight:bold;}
.nav1{float:left;margin-right:40px;}
- nav a {text-decoration:none;color:#183D46;font-size:26px;}
- project{margin-left:37px}
- humanPractic{margin-right:-8px;}
- nav ul {font-size:20px;padding-top:10px;width:72px;display:none;}
- humanPractic ul{width:200px;}
- wetlab{margin-right:296px;}
- team{width:74px;}
- nav a:hover {color:#2F798C}
body { background-image:url(text.txt); /* for IE6 */ background-attachment:fixed; }
- bottomNav {
z-index:999; position:fixed; bottom:0; /*去掉此行则固定在页面顶部*/ left:0; width:100%; _position:absolute; /* for IE6 */ _top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ overflow:visible; }