加入收藏
-
网站地图
-
网站搜索
-
网奇首页
公司简介
网奇动态
招贤纳士
加盟代理
商城系统
分类系统
点卡系统
系统开发
网站管家
访客留言
首页
→
站长世界
→
特效代码
阅读新闻
微软风格的按钮
[日期:
01-31
]
来源:
作者:
[字体:
大
中
小
]
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>网页特效|Linkweb.cn/Js|---微软风格的按钮</title> <style> .button2 { border-right:1px solid buttonhighlight; border-left:1px solid buttonshadow; border-bottom:1px solid buttonhighlight; border-top:1px solid buttonshadow } TD { cursor: hand; font-size: 9pt; font-family: 宋体; text-align: center; text-valign: middle } .handin { height:18px; width:2px; border-left:1px solid buttonshadow; border-right:1px solid buttonhighlight } .handout { height:18px; width:2px; border-left:1px solid buttonhighlight; border-right:1px solid buttonshadow; } .into { width:100%; border-right:1px solid buttonhighlight; border-left:1px solid buttonshadow; border-bottom:1px solid buttonhighlight; border-top:1px solid buttonshadow } .outto,.button1 { background-color: buttonface; background-repeat: repeat; background-attachment: scroll; border-left: 1px solid buttonhighlight; border-right: 1px solid buttonshadow; border-top: 1px solid buttonhighlight; border-bottom: 1px solid buttonshadow; background-position: 0%" } .button0 { } </style> </head> <body topmargin="0" leftmargin="0" bgcolor="#E0E0E0"> <!-- Script Filtered function change_button(num) { if(event.srcElement.tagName=="TD"&&event.srcElement.value=="button") event.srcElement.className = "button"+num; } --> <div class="into" style="width: 100%; height: 25"> <table class="outto" border="0" width="100%" height="25" cellspacing="1" onmouseover="change_button(1)" onmouseup="change_button(0)" onmousedown="change_button(2)" > <tr> <td width="1%" height="19"><span class="handout"></span></td> <td width="9%" height="19" value="button">按钮TD</td> <td width="1%" height="19"><span class="handin"></span></td> <td width="9%" height="19" value="button">按钮TD</td> <td width="1%" height="19"><span class="handin"></span></td> <td width="9%" height="19" value="button">按钮TD</td> <td width="1%" height="19"><span class="handin"></span></td> <td width="69%" height="19"></td> </tr> </table> </div> </body> </html>
提示:您可以先修改部分代码再运行
1、在IE、FF中测试,只在IE出现文字溢出现象。
说明:注释造成文字溢出是IE的BUG。
【
评论
】 【
推荐
】 【
打印
】
上一篇:
表格或层往下慢慢展开的效果
下一篇:
用ALT+字母来选择表单
相关新闻
特效代码
用ALT+字母来选择表单
(01:23)
省市联动下拉菜单
(01:10)
实现cool的点击式弹出菜单
(01:10)
表格或层往下慢慢展开的效果
(01:23)
让select控件可以自定义边框
(01:10)
关于网奇
汇款方式
招纳贤士
加入收藏
网站地图
网站搜索
简
繁
默
电话:03357668688 传真:03357668688-15 售前QQ:228918804 MSN:Qiwang
188.com Email:Qiwang
188.com
Copyright © 秦皇岛网奇网络科技有限公司
冀ICP备05008592号