0

我有一个可以在除 chrome 之外的所有浏览器中使用的表单,由于某种原因,chrome 不允许我单击并输入表单字段,这是表单:

    <form action="registration.php" method="post">
    <fieldset>
        <p style="color:red; font-weight:bold; font-size:14px;"> <?php echo $errorMsg; ?> </p>
        <label style="margin-bottom:10px" for="username">Username</label>
        <input style="margin-bottom:10px"name="username" id="username" value="<?php print $username; ?>" type="text" />
        <label style="margin-bottom:10px" for="email">Email</label>
        <input style="margin-bottom:10px" name="email" id="email" value="<?php print $email; ?>" type="text" />
        <label style="margin-bottom:10px" for="emailconf">Confirm Email</label>
        <input style="margin-bottom:10px" name="emailconf" id="emailconf" value="<?php print $emailconf; ?>" type="text" />
        <label style="margin-bottom:10px" for="paypal">PayPal Email</label>
        <input style="margin-bottom:10px" name="paypal" id="paypal" value="<?php print $paypal; ?>" type="text" />
        <label style="margin-bottom:10px" for="pass">Password</label>
        <input style="margin-bottom:10px" type="password" value="<?php print $pass; ?>" name="pass" id="pass" onkeyup="passwordStrength(this.value)" />
        <label style="margin-bottom:10px" for="passwordconf">Confirm Password</label>
         <input style="margin-bottom:10px" name="passwordconf" id="passwordconf" value="<?php print $passwordconf; ?>" type="password" />
           <div style="height:35; color:black;" id="passwordDescription">Password not entered</div>
           <div id="passwordStrength" class="strength0"></div>
    </fieldset>
        <input style="float:right; margin-right:45%;" id="SaveAccount" type="submit" class="loginbtn" value="Submit Form"/>
    </form>

php 打印是这样,如果有错误,他们不必再次重新输入信息,据我所知可以忽略。chrome为什么会这样表现有什么理由吗?我绝不是表格大师,但我过去曾以同样的方式制作过一些,如果有记忆的话,它们之前也曾工作过。

4

1 回答 1

2

快速修复:添加position:relative#main_wrapper

正确修复:整个布局需要很多更改...重新设计(table整行充满nbsp?认真吗?)

于 2012-08-04T21:13:31.640 回答