zoukankan      html  css  js  c++  java
  • 表格几种风格的实现


    <table width="200" cellpadding="0" cellspacing="0">
    <tr> 
    <td><fieldset style="200" align="center"> <legend> 无名表格 </legend> 
    <align="right"> 
    </fieldset></td>
    </tr>
    </table>


    <table border="0" width="200" cellspacing="1" cellpadding="0" bgcolor="#000000" >
    <tr align="center" bgcolor="#FFFFFF"> 
    <td bgcolor="#FFFFFF"></td>
    <td bgcolor="#FFFFFF"></td>
    </tr>
    <tr align="center" bgcolor="#FFFFFF"> 
    <td bgcolor="#FFFFFF">线</td>
    <td bgcolor="#FFFFFF"></td>
    </tr>
    </table>



    <table width="200" cellspacing="0" cellpadding="0">
    <tr align="center"> 
    <td style="BORDER-top: rgb(0,0,0) 1px dotted; BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-left: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted"></td>
    <td style="BORDER-top: rgb(0,0,0) 1px dotted; BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted"></td>
    </tr>
    <td style="BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-left: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted">线</td>
    <td style="BORDER-bottom: rgb(0,0,0) 1px dotted; BORDER-right: rgb(0,0,0) 1px dotted"></td>
    </tr>
    </table>




    <table width="200" border="0" cellspacing="2" cellpadding="0">
    <tr> 
    <td> 
      
    <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
      
    <tr> 
      
    <td bgcolor="#FFFFFF"> </td>
      
    </tr>
      
    </table>
    </td>
    <td> 
       
    <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
       
    <tr> 
       
    <td bgcolor="#FFFFFF"> </td>
       
    </tr>
       
    </table>
    </td>
    </tr>
    <tr> 
    <td> 
        
    <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
        
    <tr> 
        
    <td bgcolor="#FFFFFF"> </td>
        
    </tr>
        
    </table>
    </td>
    <td> 
        
    <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#000000">
        
    <tr> 
        
    <td bgcolor="#FFFFFF"> </td>
        
    </tr>
        
    </table>
    </td>
    </tr>
    </table>

    控制跨行跨列的单元格效果!

    <table cellspacing=1 cellpadding=0 border=0 bgcolor=#666666 width=200>
    <tr bgcolor=#eeeeaa><td colspan=2>colspan=2</td></tr>
    <tr bgcolor=#eeeeaa><td rowspan=2 width=100>rowspan=2</td><td >2</td></tr>
    <tr bgcolor=#eeeeaa><td >2</td></tr>
    </table>

    http://www.blueidea.com/bbs/NewsDetail.asp?GroupName=Dreamweaver+%26+Javascript%D7%A8%C0%B8&DaysPrune=5&lp=1&id=1574044
  • 相关阅读:
    类UNIX系统
    wxpython
    新闻
    游戏公司排名
    游戏网站
    3D打印
    python程序报"iccp known incorrect srgb profile" 警告
    python命令行退出
    plc和嵌入式的区别
    要理解互联网的变化轨迹,唯一的方法是弄清背后的规律。“在线”这个所有人既熟悉又陌生的词语,既是常识,也是我一系列想法的核心。
  • 原文地址:https://www.cnblogs.com/gwazy/p/124650.html
Copyright © 2011-2022 走看看