<span id="blogname"></span>


All that's beautiful drifts away like the waters ——W. B. Yeats
Modisied by Leslie-Cheung.com
 
2008/1/8 10:35:00
如何避免加上FORM的那些空白处
 

DIV方式
使用CSS控制,代码如下:
Form{style="margin:0"}

Table方式
[留白的表单]:    
  <table>    
    <tr>    
        <td   width="100%">    
            <form   method="POST">    
            </form>    
        </td>    
    </tr>    
  </table>    
   
  [不留白的表单]:    
  <table>    
    <form   method="POST">    
      <tr>    
        <td   width="100%">    
        </td>    
      </tr>    
    </form>    
  </table>

解决方法:将form加在table后tr前   

 
By 小鱼儿  阅读全文 | 回复(0) | 引用通告 | 编辑

发表评论:
 
Calendar

<<  < 2009 - >  >>
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

Login


Bulletin
Recent Entries
Comments
Messages
Information
Links


Designed by Subdreamer
 
Powered by Oblog.