zoukankan      html  css  js  c++  java
  • [原创] 共享两个有用的网页布局表格

    做网页设计的心得如下, 在布局方面可能会有好处

    边框布局

    <fieldset style="400px">
     <legend><span style="font size:12px">经典论坛</span></legend>

      <p align="left">
          <input type="checkbox" name="checkbox" value="checkbox">
          <span style="font size:12px">DW专栏</span> <br>
        </p>
        <p align="left">
          <input type="checkbox" name="checkbox2" value="checkbox">
          <span style="font size:12px">FW专栏</span></p>
        <p align="left">
          <input type="checkbox" name="checkbox3" value="checkbox">
          <span style="font size:12px">FLASH专栏</span></p>
     
    </fieldset>

     

     

    正式的布局
     <table cellpadding="0" width="100%" bgcolor="#F5F9FF" cellspacing="0" border="0">
            <tr>
                <td>
                    <table border="1" rules="rows" bordercolordark="#D3D8E0" bordercolorlight="#4F7FC9"
                        cellpadding="5" cellspacing="0" width="100%">
                        <tr>
                            <td align="left" colspan="4" bgcolor="#E3EFFF" height="22" class="subHeader">
                                Project Info
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <table cellpadding="0" width="100%" cellspacing="0" border="0">
                                   放入正式的东东
                                </table>
                          </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>

     作为分隔行
        <table cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 10"
            bgcolor="#FFFFFF">
            <tr>
                <td>&nbsp;
                   
                </td>
            </tr>
        </table>

    OK

  • 相关阅读:
    struts2简介
    HDU 2842 Chinese Rings(矩阵高速功率+递归)
    Cocos2d-X中国象棋的发展《五岁以下儿童》摆棋
    【Python注意事项】如何理解python中间generator functions和yield表情
    [CSS] Design for Mobile First with Tachyons
    [Angular] Configurable NgModules
    [Angular] Using useExisting provider
    [Angular] Providers and useFactory
    [Angular] Using InjectionToken
    [Angular] Test Directive
  • 原文地址:https://www.cnblogs.com/JamesLi2015/p/1317904.html
Copyright © 2011-2022 走看看