Song's profileMSN Space技巧归总BlogLists Tools Help

Blog


    July 03

    给表格添加背景图片--美化文本框

    用 <TABLE>表格可以实现有背景图片和的边框的文本框 ,效果如下:

    By 词嘲墨尽


     

     

     假如生活欺骗了你,

    不要忧郁,也不要愤慨!

    不顺心时暂且克制自己,

    相信吧,快乐之日就会到来。

     

    我们的心儿憧憬着未来,

    现今总是令人悲哀:

    一切都是暂时的,转瞬既逝,

    而那逝去的将变为可爱。

    普希金

     

     

    代码如下:

    <TABLE style="WIDTH: 373px; HEIGHT: 322px" borderColor=#000000 cellSpacing=13  background=图片地址  border=3>
    <TBODY>
    <TR>
    <TD>
    在这里添加你的文字或者链接
    </TD>
    </TR>
    </TBODY>
    </TABLE>
     
    解释一下:
     
    WIDTH: 373px; HEIGHT: 322px:表格的宽和高,可以修改数值,也可以在正常编辑状态下通过拖拉的方式改变大小。
     
    borderColor:表格边框的颜色
     
    cellSpacing=13:表格格线的厚度。(在上面这个例子里就是两条黑色边线之间的距离)
     
    border=3:表格边框的厚度。(即最外层边线的厚度)

    Comments (474)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Aug. 4
    thanks
    Feb. 26
    Feb. 26
    Feb. 3
    Nov. 19
    Oct. 6
    Sept. 22
    Sept. 22
    Sept. 14
    Sept. 10
    Sept. 10
    Picture of Anonymous
    Sept. 8
    Sept. 5
    Aug. 29
    Aug. 29
    Aug. 26
    Aug. 14
    Aug. 12
    Aug. 12
    Aug. 12

    Trackbacks (47)

    The trackback URL for this entry is:
    http://simplifytech.spaces.live.com/blog/cns!53ABB01DA8A53429!495.trak
    Weblogs that reference this entry