匿名用户
1级
2016-07-19 回答
需要ie和webkit类浏览器兼容
css:
.search_box {
position: relative;
width: 360px;
overflow: visible;
}
.search_box * {
margin: 0;
padding: 0;
list-style: none;
font: normal 12px/1.5em "宋体", Verdana, Lucida, Arial, Helvetica;
}
.search_box .clear {
width: 0;
height: 0;
clear: both;
line-height: 0;
overflow: hidden;
font-size: 0;
}
.search_box h3, .search_tips h4 {
display: none;
}
.search_box select {
float: left;
width: 60px;
height: 18px;
}
.search_box input {
float: left;
width: 202px;
width: 196px \9;
height: 18px;
line-height: 18px;
padding: 0 2px;
margin: 0 5px;
border: 1px solid #619FCF;
}
.search_box button {
float: left;
width: 59px;
height: 18px;
text-indent: -9999px;
border: 0 none;
cursor: pointer;
}
.search_tips {
position: absolute;
top: 17px;
top: 19px \9;
left: 65px;
width: 190px;
padding: 5px;
border: 1px solid #619FCF;
}
.search_tips ul, .search_tips ul li {
overflow: hidden;
}
.search_tips li a {
float: left;
text-decoration: none;
color: #333333;
display: inline;
height: 22px;
line-height: 22px;
}
.search_tips li a:hover {
color: #FF0000;
}
.search_tips li span {
float: right;
display: inline;
color: #CCCCCC;
height: 22px;
line-height: 22px;
}
html:
站内搜索
影视
日志
相册
搜索
搜索提示
- 柯南 365集共有253个结果
- 柯南剧场版共有4563个结果
- 柯南共有45623