Browse Source

顶部色条超出client时出现空白现象

luyanan 8 years ago
parent
commit
5c40b28195
3 changed files with 8 additions and 2 deletions
  1. 6 0
      css/common.css
  2. 1 1
      information-add.html
  3. 1 1
      privacy.html

+ 6 - 0
css/common.css

@ -4,6 +4,11 @@
4 4
		min-width:760px;
5 5
	}
6 6
}
7
@media(max-width:1100px ) {
8
	#header.Nosear{
9
		width:1100px;
10
	}
11
}
7 12
/* CSS Document */
8 13
.floatL{ float:left;}
9 14
.floatR{float:right;}
@ -47,6 +52,7 @@ html, body{}
47 52
input{ outline:none;}
48 53
/*header部分*/
49 54
#header{width:100%;height:60px; background:rgba(255,153,0,1); position:fixed; top:0; z-index:999; }
55
#header.Nosear{position:static;}
50 56
.logo{ display:block; width:80px; height:40px; background:url(../images/logo2.png) no-repeat;background-size:100% 100%;  margin-left:80px; margin-top:10px; float:left;}
51 57
.searchblock{ width:280px; height:35px; position:absolute; left:50%; top:50%; margin-left:-140px; margin-top:-17.5px; display:none;}
52 58
.search-txt{ width:220px;line-height:35px; height:35px; background:#fff; border:none;-moz-border-radius:6px 0 0 6px;-webkit-border-radius:6px 0 0 6px; border-radius:6px 0 0 6px; behavior:url(../js/ie-css3.htc); float:left;font-size:14px;padding-left:10px; color:#a3a3a3;}

+ 1 - 1
information-add.html

@ -17,7 +17,7 @@
17 17
</head>
18 18

19 19
<body>
20
<div id="header" style="position:static;width: 1100px;">
20
<div id="header" class="Nosear">
21 21
	<a href="index.html" alt="科袖" class="logo"></a>	
22 22
</div>
23 23
<div class="container">

+ 1 - 1
privacy.html

@ -16,7 +16,7 @@
16 16
</head>
17 17

18 18
<body>
19
	<div id="header" style="position:static;width: 1100px;">
19
	<div id="header" class="Nosear">
20 20
		<a href="index.html" alt="科袖" class="logo"></a>
21 21
        
22 22
	</div>