HTML——使用表格進行頁面配置

來源:互聯網
上載者:User

標籤:www   art   ack   cells   type   img   span   1.0   margin   


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>表格版面配置</title></head><body bgcolor="white" leftmargin="0" topmargin="0"><!--外層表格開始-->    <table width="100%" border="0" cellpadding="0" cellspacing="0">    <tbody>        <tr>            <td align="center">                <!--中層表格開始-->                <table width="800" border="0" bgcolor="#FFFFFF" cellpadding="0" cellspacing="0">                <tbody>                <tr align="center">                    <!--內層表格開始-->                    <table width="600" border="0" cellpadding="0" cellspacing="0">                    <tbody>                    <tr>                        <td colspan="5"><img src="20140224112909_Pt8jK.jpg" width="600" height="200"/></td>                        </tr>                                                <tr height="50">                        <td colspan="3">username:______ password:______</td>                            <td colspan="2" align="right"><a href="http://www.baidu.com">協助</a></td>                        </tr>                                                <tr height="2">                        <td colspan="5" background="黑線.png"</td>                        </tr>                                                <tr valign="top">                        <td width="140">                            <h3 align="center">你喜歡海嗎</h3>                                <ul>                                <li>寫信告訴我今天</li>                                    <li>海是什麼顏色</li>                                    <li>夜夜陪著你的海</li>                                    <li>心情又如何</li>                                    <li>灰色是不想說</li>                                    <li>藍色是憂鬱</li>                                    <li>而漂泊的你</li>                                    <li>狂浪的心</li>                                    <li>停在哪裡</li>                                </ul>                            </td>                            <td width="1" background="黑線.png"></td>                            <td width="300">                            <h3 align="center">我愛的大海</h3>                                <img src="20120804021257_W3hWC.jpg" width="300" height="300"/>                                <h3 align="center">你在哪呢</h3>                                <ul>                                <li>寫封信給我就當最後約定</li>                                    <li>說你在離開我的時候是如何的心情</li>                                </ul>                            </td>                            <td width="1" background="黑線.png"></td>                            <td width="140">                            <h3 align="center">你會喜歡的</h3>                                <ul>                                <li>寫信告訴我你想要</li>                                    <li>夢什麼</li>                                    <li>夢裡外的我是否</li>                                    <li>都讓你無從選擇</li>                                    <li>我揪著一顆心</li>                                    <li>整夜都閉不上眼睛</li>                                    <li>為何你明明動了情</li>                                    <li>卻又不靠近</li>                                </ul>                           </td>                      </tr>                                            <tr>                      <td colspan="5"><img src="20140224112909_Pt8jK.jpg" width="600" height="100" /></td>                      </tr>                                            <tr height="40">                      <td colspan="5" align="left">著作權全部,擷取必究 &copy;1999-2014</td>                      </tr>                                        </tbody>                 </table>                 <!--內層表格結束-->                 </td>               </tr>            </tbody>             </table>            <!--中層表格結束-->           </td>           </tr>         </tbody>      </table>       <!--外層表格結束-->      </body>      </html>               





HTML——使用表格進行頁面配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.