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

  • 相关阅读:
    AVL树的java实现
    request和response的setCharacterEncoding()方法
    几种常用数据库连接池的使用
    String类、static关键字、Arrays类、Math类
    QT学习笔记(day02)
    QT学习笔记(day01)
    STL中栈和链表的不同实现方式的速度对比
    C++泛化双端队列
    C++泛化队列
    C++泛化栈
  • 原文地址:https://www.cnblogs.com/JamesLi2015/p/1317904.html
Copyright © 2011-2022 走看看