定格成①道美丽的风景綫 在彼此间......
2010-12-21 17:55:14| 分类: 边框表格 | 标签: |举报 |字号大中小 订阅
用微信 “扫一扫”
将文章分享到朋友圈。
用易信 “扫一扫”
漂亮的虚线表格制作代码
效果图及代码
<TABLE style="BORDER-RIGHT: yellow 5px solid; BORDER-TOP: #6b8e23 5px solid; BORDER-LEFT: yellow 5px solid; BORDER-BOTTOM: #00ff00 5px solid" cellSpacing=2 cellPadding=0 width=300 bgColor=#ffdab9 border=0><TBODY><TR align=middle><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TR align=middle><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD>
说 明∶可以分别改变表格外框右RIGHT、上TOP、左LEFT、下BOTTOM 的四边颜色〖蓝色部分〗及宽度〖红色部分数值〗、同样也可分别改变表格中每边虚线的颜色〖浅蓝色布分〗、黄色代码为表格背景颜色。
<TABLE style="BORDER-RIGHT: yellow 5px solid; BORDER-TOP: #6b8e23 5px solid; BORDER-LEFT: yellow 5px solid; BORDER-BOTTOM: #00ff00 5px solid" cellSpacing=2 cellPadding=0 width=300 bgColor=#ffdab9 border=0><TBODY><TR align=middle><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted" colSpan=4>一栏带四列虚线表格式样</TD><TR align=middle><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TR align=middle><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">内容</TD>
说 明∶可以分别改变表格外框右RIGHT、上TOP、左LEFT、下BOTTOM 的四边颜色〖蓝色部分〗及宽度〖红色部分数值〗、同样也可分别改变表格中每边虚线的颜色〖浅蓝色布分〗、黄色代码为表格背景颜色。在这里制作时要增加列数表格时一定改变合并列代码colSpan=4的数值。
<TABLE style="BORDER-RIGHT: yellow 5px solid; BORDER-TOP: #6b8e23 5px solid; BORDER-LEFT: yellow 5px solid; BORDER-BOTTOM: #00ff00 5px solid" cellSpacing=2 cellPadding=0 width=300 bgColor=#ffdab9 border=0><TBODY><TR align=middle><TD style="BORDER-TOP: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted" width=30 rowSpan=5>内容1 </TD><TR align=middle><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">细</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">线</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-TOP: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">线</TD><TR align=middle><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-LEFT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">表</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">格</TD><TD style="BORDER-RIGHT: #ff2400 1px dotted; BORDER-BOTTOM: #ff2400 1px dotted">格</TD>
说 明∶可以分别改变表格外框右RIGHT、上TOP、左LEFT、下BOTTOM 的四边颜色〖蓝色部分〗及宽度〖红色部分数值〗、同样也可分别改变表格中每边虚线的颜色〖浅蓝色布分〗、黄色代码为表格背景颜色。在这里制作时要增加列数表格时一定改变合并行代码rowSpan=5的数值。
推荐过这篇日志的人:
他们还推荐了:
网易公司版权所有 ©1997-2018
评论