[原创]table动态改变颜色包括一个边框
来源:互联网 发布:dj软件打碟 编辑:程序博客网 时间:2024/03/29 14:44
#region 声明
//----------------------------------------------------------------------
//
// 作者: 李淼(Nick.Lee)
//
// table动态改变颜色包括一个边框
// 时间:2005-3-1,我做了两天的效果哦
// boyorgril@msn.com
// QQ:16503096
//注意:引用请标明出处,如果觉得好请up一下或评论一下,谢谢
//----------------------------------------------------------------------
#endregion
<HTML>
<HEAD>
<title>table动态改变颜色包括一个边框</title>
</HEAD>
<form name="Form1" method="post" action="topmenu_main.aspx" id="Form1">
<table style="width: 100%;font-size:9pt;" border=0 cellpadding="0" cellspacing="0" id="datagrid1"><tr><td>
<table style="border: SOLID 1px blue;border-top: -1px; width: 100%;" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width=100% heigh=100% cellpadding="4" cellspacing="1" style="font-size:9pt;">
<tr bgcolor="#8888BB" align="center" style="color:white;">
<td style="width:20%;"> </td>
<td style="width:20%;"> </td>
<td style="width:20%;">编号</td>
<td style="width:20%;">中文名称</td>
<td style="width:20%;">图片Url</td>
</tr>
</table>
</td>
</tr>
</table>
<table style="border: SOLID 1px blue; border-top: 0px; width: 100%" cellpadding="0" cellspacing="0"
OnMouseOver="this.style.border='SOLID 1px BLACK'; this.style.marginTop=-1"
OnMouseOut ="this.style.border='SOLID 1px blue'; this.style.marginTop=0; this.style.borderTop='0px'">
<tr>
<td>
<table width=100% heigh=100% cellpadding="4" cellspacing="1" style="font-size:9pt;">
<tr align="center" bgcolor="#EEEEFA" onMouseOut="this.style.backgroundColor='#EEEEFA';this.style.cursor='hand';" onmouseOver="this.style.backgroundColor='#C0C0FF'">
<td style="width:20%;color:red;">添加</td>
<td style="width:20%;color:red;">删除</td>
<td style="width:20%;">00001</td>
<td style="width:20%;">Nick</td>
<td style="width:20%;">图片1</td>
</tr>
</table>
</td>
</tr>
</table>
<table style="border: SOLID 1px blue; border-top: 0px; width: 100%" cellpadding="0" cellspacing="0"
OnMouseOver="this.style.border='SOLID 1px BLACK'; this.style.marginTop=-1"
OnMouseOut ="this.style.border='SOLID 1px blue'; this.style.marginTop=0; this.style.borderTop='0px'">
<tr>
<td>
<table width=100% heigh=100% cellpadding="4" cellspacing="1" style="font-size:9pt;">
<tr align="center" bgcolor="#EEEEFA" onMouseOut="this.style.backgroundColor='#EEEEFA';this.style.cursor='hand';" onmouseOver="this.style.backgroundColor='#C0C0FF'">
<td style="width:20%;color:red;">添加</td>
<td style="width:20%;color:red;">删除</td>
<td style="width:20%;">00002</td>
<td style="width:20%;">Rick</td>
<td style="width:20%;">图片2</td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>
</form>
</HTML>
- [原创]table动态改变颜色包括一个边框
- [原创]table动态改变颜色包括一个边框
- table动态改变颜色包括一个边框
- table鼠标移动背景,边框颜色改变
- 动态改变table 背景颜色
- Android自定义TextView边框颜色(动态改变边框颜色以及字体颜色)
- UITableView 改变边框颜色
- 改变edittext边框颜色
- 改变edittext边框颜色
- 改变EditText边框颜色
- select 边框颜色改变
- table 每行 改变颜色
- table布局之边框颜色
- Android EditText 改变边框颜色
- Android EditText 改变边框颜色
- 实现EditText边框颜色改变
- Android EditText 改变边框颜色
- Android EditText 改变边框颜色
- 看来struts1.1版和struts1.2.4版去别还是挺大的
- 悲怆:IT人的一声叹息-一个程序员的自白
- Wrox出版《ASP.NET 2.0 Beta Preview》确认页(Acknowledgments)
- 当微软很小的时候──比尔•盖茨忆创业
- 感冒了
- [原创]table动态改变颜色包括一个边框
- 把linux配置成pix 的日志主机
- 一则spring中使用PropertyEditors 来注入日期型属性的技巧
- 为什么人必须结婚
- D语言中的内联汇编在x86平台上的实现
- one month busy developing a converting server
- [整理] OSGI与Eclipse3
- 叹齐女
- 告诉你一个好消息