jQuery MiniUI

 找回密码
 立即注册
查看: 2293|回复: 1
打印 上一主题 下一主题

colspan不生效问题 [复制链接]

Rank: 3Rank: 3

跳转到指定楼层
楼主
发表于 2016-6-27 17:04:42 |只看该作者 |倒序浏览


代码如下:

<!DOCTYPE htmlPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">

<head>

    <title>Form</title>

    <meta http-equiv="content-type"content="text/html; charset=UTF-8" /><linkhref="../demo.css" rel="stylesheet"type="text/css" />

   

    <scriptsrc="../../scripts/boot.js"type="text/javascript"></script>

    <style>

    .mini-labelfield-label

    {   

        width:100px;

    }

    body .mini-labelfield

    {

        width:250px;

        margin:0;

        margin-top:5px;

    }

    </style>

</head>

<body>

    <h1>Form 表单</h1>      

          <table>

            <tr>

              <td>

                  <input labelField="true"label="TextBox1" id="textbox1" name="username" class="mini-textbox"required="true" />

              </td>

               <td>

                  <inputlabelField="true" label="TextBox2" id="textbox1"  name="usercode" class="mini-textbox"required="true" />

              </td>

            </tr>

            <tr>

              <td colspan="2">

                  <inputlabelField="true" label="TextBox3" id="textbox1"  name="username"class="mini-textbox" required="true" />

             </td>

              

            </tr>

      </table>

  <div class="description">

        <h3>Description</h3>

        <p>只需要设置"labelField""label""labelStyle"就可以显示左侧label文本描述。   

        </p>

      

    </div>

</body>

</html>


附件: 你需要登录才可以下载或查看附件。没有帐号?立即注册

Rank: 8Rank: 8

沙发
发表于 2016-6-27 17:11:30 |只看该作者
请设置textbox的宽度,width="100%"

Archiver|普加软件

GMT+8, 2024-9-29 23:37 , Processed in 1.065536 second(s), 10 queries .

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部