jQuery MiniUI

标题: colspan不生效问题 [打印本页]

作者: bl00071    时间: 2016-6-27 17:04:42     标题: colspan不生效问题

[attach]7592[/attach]

代码如下:

<!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>



作者: felt    时间: 2016-6-27 17:11:30

请设置textbox的宽度,width="100%"




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2