登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

水滴石穿非一日之功

 
 
 

日志

 
 

【转载】虚线表格制作代码  

2015-06-10 21:16:00|  分类: 代码 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
本文转载自灵儿音画《虚线表格制作代码》
虚线表格制作代码

 

效果图及代码


内容 内容 内容
内容 内容 内容
虚线边表格代码

<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的数值


内容1
线 线

 

一列带三栏虚线表格代码

<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的数值。

 


  评论这张
 
阅读(16)| 评论(0)

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018