您的位置:首页 > 编程语言 > ASP

让整个table居于页面正中,(上下左右居中)。

2016-07-05 14:42 519 查看
    <form id="form1" method="post">

        <table border=0 cellpadding=0 cellspacing=0 style="width:100% ;height:100%">

            <tr>

                <td style="width:100%;" align="center" valign="middle">

                    <table style="background-color:lightskyblue; margin:auto">

                        <tr>

                            <td></td>

                            <td align="center"> 用户登录 </td>

                            <td></td>

                        </tr>

                    </table>

                </td>

      </tr>

        </table>

    </form>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mvc4 asp.net