主站
经典论坛
家园
作品集
Think.Pages
维基
桌面
聚合
注册
登录
专长会员
帮助
客服QQ:6650171
经典论坛
»
WEB标准化专栏
» 列表框不受CSS控制.急啊.请大是帮忙.
‹‹ 上一主题
|
下一主题 ››
发新话题
发布投票
发布商品
发布悬赏
发布活动
发布辩论
发布视频
打印
[求助]
列表框不受CSS控制.急啊.请大是帮忙.
seaman703
[楼主]
新手上路
帖子
16
体力
35
威望
0
离线
1 天
发短消息
加为好友
1
#
大
中
小
发表于 2008-8-22 10:08
想要这个效果..请大家帮下
积分
35
阅读权限
10
在线时间
13 小时
注册时间
2008-2-24
最后登录
2008-12-3
查看详细资料
TOP
做西部数码代理.Cn1元国际45元
|
微软开发者工具互动网站
siyoyo
中级会员
帖子
118
体力
258
威望
0
个人空间
发短消息
加为好友
2
#
大
中
小
发表于 2008-8-22 10:10
要用JS模拟
积分
258
阅读权限
30
在线时间
231 小时
注册时间
2007-6-24
最后登录
2008-12-4
查看详细资料
TOP
美橙vps独立IP月付189元
|
千千静听皮肤设计大赛
seaman703
[楼主]
新手上路
帖子
16
体力
35
威望
0
离线
1 天
发短消息
加为好友
3
#
大
中
小
发表于 2008-8-22 10:18
怎么做呢?
请问
积分
35
阅读权限
10
在线时间
13 小时
注册时间
2008-2-24
最后登录
2008-12-3
查看详细资料
TOP
activeTechPros 共享IT行业薪资信息
|
《疯狂的程序员》劲爆上市
cycloned
程让
金牌会员
帖子
1425
体力
3310
威望
0
当前
上海 浦东
个人网站
发短消息
加为好友
专长
网页设计,前端制作,UE
4
#
大
中
小
发表于 2008-8-22 10:19
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <HTML> <HEAD> <TITLE>搜索条</TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> <style> /*basic*/ *{padding:0;margin:0;color:#000;font:12px/20px Arial,Sans-serif,"宋体";} /*elements*/ .clear{clear:both;height:0px;overflow:hidden;} ul,li,ol{list-style-type:none;list-style-position:outside;} button,.btnNormal{height:22px;line-height:18px;padding:0 9px!important;padding:0 5px;} a{color:#0042ff;text-decoration:underline;} a,a *{cursor:pointer;} a img{border:0;} .searchTool{float:left;width:520px;} .searchTool .searchExtend{float:left;line-height:24px;_padding-top:5px;} .searchTool .radio{vertical-align:middle;margin-left:10px;margin-right:2px;*margin-right:0;} .searchTool .txtSearch{float:left;width:232px;padding:2px 2px 0 2px;height:20px;line-height:20px;vertical-align:bottom;border:1px solid #3e99d4;} .searchTool .selSearch{float:left;width:60px;background:#fff;height:22px;line-height:22px;border:1px solid #3e99d4;border-left:0;} .searchTool .nowSearch{float:left;width:40px;height:20px;line-height:22px;overflow:hidden;padding-left:4px;} .searchTool .btnSel{float:right;border-left:1px solid #3e99d4;width:14px;height:22px;} .searchTool .btnSel a{background:url(http://static.youku.com/v1.0.0217/index/img/btn_sel.gif) no-repeat center center;display:block;width:14px;height:22px;} .searchTool .btnSel a:hover{background:url(http://static.youku.com/v1.0.0217/index/img/btn_sel_over.gif) no-repeat center center;border:1px solid #fff;width:12px;height:20px;} .searchTool .selOption{z-index:9999;position:absolute;margin-left:-1px;width:60px;background:#fff;border:1px solid #3e99d4;} .searchTool .selOption a{display:block;height:21px;padding-left:5px;line-height:21px;color:#000;text-decoration:none;} .searchTool .selOption a:hover{color:#fff;background:#95d5f1;} .searchTool .btnSearch{float:left;margin-left:10px;width:58px;height:22px;line-height:22px;border:1px solid #3e99d4;overflow:hidden;} .searchTool .btnSearch a{background:url(http://static.youku.com/v1.0.0217/index/img/bg_nav_option.gif) repeat-x center -6px;display:block;text-decoration:none;height:22px;line-height:22px;overflow:hidden;} .searchTool .btnSearch a:hover{background:url(http://static.youku.com/v1.0.0217/index/img/bg_nav_option_over.gif) repeat-x center center;border:1px solid #fff;height:20px;line-height:20px;} .searchTool .btnSearch .lbl{cursor:pointer;display:block;width:40px;padding-left:5px;letter-spacing:5px;text-align:center;height:18px;padding-top:1px;margin:0 auto;filter:progid:DXImageTransform.Microsoft.DropShadow(color=#daeefa,offX=1,offY=1,positives=true);} .searchTool .btnSearch a:hover .lbl{padding-top:0px;} </style> <script> function drop_mouseover(pos){ try{window.clearTimeout(timer);}catch(e){} } function drop_mouseout(pos){ var posSel=document.getElementById(pos+"Sel").style.display; if(posSel=="block"){ timer = setTimeout("drop_hide('"+pos+"')", 1000); } } function drop_hide(pos){ document.getElementById(pos+"Sel").style.display="none"; } function search_show(pos,searchType,href){ document.getElementById(pos+"SearchType").value=searchType; document.getElementById(pos+"Sel").style.display="none"; document.getElementById(pos+"Slected").innerHTML=href.innerHTML; document.getElementById(pos+'q').focus(); var sE = document.getElementById("searchExtend"); if(sE != undefined && searchType == "bar"){ sE.style.display="block"; }else if(sE != undefined){ sE.style.display="none"; } try{window.clearTimeout(timer);}catch(e){} return false; } </script> </HEAD> <BODY> <div class="searchTool"> <form method="get" action="http://so.youku.com/search_playlist" name="headSearchForm" id="headSearchForm" onsubmit="return dosearch(this);"> <input class="txtSearch" id="headq" name="q" type="text" value="闯关东" /> <input name="searchdomain" type="hidden" value="http://so.youku.com"> <input id="headSearchType" name="searchType" type="hidden" value="playlist"> <div class="selSearch"> <div class="nowSearch" id="headSlected" onclick="if(document.getElementById('headSel').style.display=='none'){document.getElementById('headSel').style.display='block';}else {document.getElementById('headSel').style.display='none';};return false;" onmouseout="drop_mouseout('head');">专辑</div> <div class="btnSel"><a href="#" onclick="if(document.getElementById('headSel').style.display=='none'){document.getElementById('headSel').style.display='block';}else {document.getElementById('headSel').style.display='none';};return false;" onmouseout="drop_mouseout('head');"></a></div> <div class="clear"></div> <ul class="selOption" id="headSel" style="display:none;"> <li><a href="#" onclick="return search_show('head','video',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">视频</a></li> <li><a href="#" onclick="return search_show('head','playlist',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">专辑</a></li> <li><a href="#" onclick="return search_show('head','user',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">会员</a></li> <li><a href="#" onclick="return search_show('head','bar',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">看吧</a></li> <li><a href="#" onclick="return search_show('head','pk',this)" onmouseover="drop_mouseover('head');" onmouseout="drop_mouseout('head');">PK擂台</a></li> </ul> </div> <div class="btnSearch"> <a href="#" onclick="javascript:return dosearch(document.getElementById('headSearchForm'));"><span class="lbl">搜索</span></a> </div> <div class="searchExtend" id="searchExtend" name="searchExtend" style="display:none"> <input type="radio" class="radio" name="sbt" value="post" onclick="csbt(this,this.form.sbts);" />搜贴子<input type="radio" name="sbt" value="user" onclick="csbt(this,this.form.sbts);" class="radio" />按作者搜<input type="hidden" name="sbts" value="bar"> </div> <div class="clear"></div> </form> </div> <div class="clear"></div> </div> </div> </BODY> </HTML>
提示:您可以先修改部分代码再运行
前端开发
积分
3310
阅读权限
90
性别
男
在线时间
969 小时
注册时间
2005-3-5
最后登录
2008-12-4
查看个人网站
查看详细资料
TOP
还在为头像烦恼?还在为不能关注好友动态烦忧?快来
蓝色理想家园
吧!
‹‹ 上一主题
|
下一主题 ››
版块跳转
内部交流区
网站开发区
前台制作与脚本专栏
后台数据库编程
WEB标准化专栏
WAP 技术专栏
平面设计区
艺术与设计论坛
Adobe Photoshop 专栏
Fireworks 专栏
矢量图形专栏
插画手绘交流
交互设计区
用户体验综合版
UI图形设计
RIA设计与应用
Flash 8 及之前版本
Flash CS3 及 AS3
Silverlight 专版
Director 专栏
其它技术讨论区
计算机技术
英语学习和技术翻译
摄影欣赏与技术交流
无线通讯与数码设备
信息平台
企业招聘
学习工作交流区
体育运动、线下活动与游戏
创业版