-
Notifications
You must be signed in to change notification settings - Fork 1
/
搜索&提示框.html
98 lines (95 loc) · 2.29 KB
/
搜索&提示框.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<style type="text/css">
.search_box {
position: relative;
width: 360px;
margin: 0 auto;
}
.search_box * {
margin: 0;
padding: 0;
list-style: none;
font:normal 12px/1.5em "宋体", Verdana,Lucida, Arial, Helvetica, sans-serif;
}
.search_box h3, .search_tips h4 {
display: none;
}
.search_box select {
float: left;
width: 60px;
}
.search_box input {
float: left;
width: 196px;
height: 17px;
padding: 0 5px;
margin: 0 5px;
border: 1px solid #619fcf;
}
.search_box button {
float: left;
width: 59px;
height: 18px;
text-indent: -9999px;
border: 0;
background: url(./images/btn_search.gif) no-repeat 0 0;
cursor: pointer;
}
.search_tips {
position: absolute;
top: 17px;
left: 65px;
width: 196px;
padding: 5px 5px 0px;
border: 1px solid #619fcf;
}
.search_tips li {
float: left;
width: 100%;
height: 22px;
line-height: 22px;
}
.search_tips li a {
float: left;
text-decoration: none;
color: #333;
}
.search_tips li a:hover {
color: #ff0000;
}
.search_tips li span {
float: right;
color: #ccc;
}
</style>
</head>
<body>
<div class="search_box">
<h3>站内搜索</h3>
<div class="content">
<form method="post" action="#">
<select>
<option value="">影视</option>
<option value="">日志</option>
<option value="">相册</option>
</select>
<input type="text" value="请输入关键字" />
<button type="submit">搜索</button>
<div class="search_tips">
<h4>搜索提示</h4>
<ul>
<li><a href="#">柯南538集</a><span>共有589个项目</span></li>
<li><a href="#">柯南剧场版</a><span>共有58393个项目</span></li>
<li><a href="#">柯南全集</a><span>共有158393个项目</span></li>
<li><a href="#">柯南剧场版</a><span>共有58393个项目</span></li>
<li><a href="#">柯南全集</a><span>共有158393个项目</span></li>
</ul>
</div>
</form>
</div>
</div>
</body>
</html>