更换背景颜色的代码
通过加多一层table可以改变对称花边框的背景颜色,代码如下: <center> <div style="width:800px"> <table style="border-bottom: darkgreen 6px double; border-left: darkgreen 6px double; border-top: darkgreen 6px double; border-right: darkgreen 6px double; width: 800px" bgcolor=#f7dcf7> <tbody> <tr> <td> <table style="background-repeat: repeat-y" cellspacing=0 cellpadding=0 width=788 background=http://image35.360doc.com/DownloadImg/2011/08/2807/16582566_1.gif> <tbody> <tr> <td width=80></td> <td width=628> <table border=0 cellpadding=20 width="100%"> <tbody> <tr> <td style="border-left: magenta 6px dotted; border-right: magenta 6px dotted"> <center> <div style="filter: shadow(color=magenta); line-height: 150%; width: 100%; font-family: 宋体; color: white; font-size: 30pt">大 标 题</div></center><br> <p align=left><font style="font-family: 黑体; font-size: 16pt" color=#0000ff>宽度必须根据背景图片的尺寸调整……。 </font></p><br></td></tr></tbody></table></td> <td style="filter: fliph; background-repeat: repeat-y" background=http://image35.360doc.com/DownloadImg/2011/08/2807/16582566_1.gif width=80 align=right> </td></tr></tbody></table> </td></tr></tbody></table> </div></center>
|