border-style:     <值>       
    none:无样式;       
    dotted:点线;       
    dashed:虚线;       
    solid:实线;       
    double:双线;       
    groove:槽线;       
    ridge:脊线;       
    inset:内凹;       
    outset:外凸。

解决方案 »

  1.   

    使用javascript,重新設置該table的style屬性
      

  2.   


    .tdLeftTop
    {
    border-top: 1px dotted #000000;
    border-left: 1px dotted #000000;
    border-bottom: 1px dotted #000000;
    border-right: 1px dotted #000000;
    }
    .tdRightTop
    {
    border-top: 1px dotted #000000;
    border-right: 1px dotted #000000;
    border-bottom: 1px dotted #000000;
    }
    .tdLeft
    {
    border-left: 1px dotted #000000;
    border-bottom: 1px dotted #000000;
    border-right: 1px dotted #000000;
    }
    .tdRight
    {
    border-right: 1px dotted #000000;
    border-bottom: 1px dotted #000000;
    }
    <table border="0" width="100%" cellspacing="0" cellpadding="2">
    <tr>
    <td class="tdLeftTop"> </td>
    <td class="tdRightTop"> </td>
    <td class="tdRightTop"> </td>
    </tr>
    <tr>
    <td class="tdLeft"> </td>
    <td class="tdRight"> </td>
    <td class="tdRight"> </td>
    </tr>
    <tr>
    <td class="tdLeft"> </td>
    <td class="tdRight"> </td>
    <td class="tdRight"> </td>
    </tr>
    </table>
      

  3.   

    什么都被你们说完了。楼主会不会结贴?
    不知道怎么结贴?!请查看下面的帖子。
    http://topic.csdn.net/u/20080110/19/7cb462f1-cac6-4c28-848e-0a879f4fd642.html
      

  4.   

    什么都被你们说完了。楼主会不会结贴? 
    不知道怎么结贴?!请查看下面的帖子。 
    http://topic.csdn.net/u/20080110/19/7cb462f1-cac6-4c28-848e-0a879f4fd642.html

    竹子真强!
    =================================
    楼主用CSS控制table样式,可以实现你说的功能,方法前面各位都说了