Well, I'm developing a webpage with a form. How can I align text boxes to fill in? I tried to put everything inside a div with the class container, I tried to set the size to approximate sizes, but there are always millimeters of difference, and I tried to do it inside a table, but they got small spacings. So far the code looks like this:
<div style="margin-top: 30px;" class="container">
<form method="POST" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
<h3>Dados Funcionario nº<?php echo $registo["IDFuncionario"]; ?></h3><br>
<p>Nome <input type="text" name="Nome" size="50" value="<?php echo $registo["Nome"]; ?>"></p>
<p>Username<input type="text" name="username" size="47" value="<?php echo $registo["username"]; ?>"></p>
<p>Password<input type="text" name="password" size="47" value="<?php echo $registo["password"]; ?>"></p>
<p>Morada<input type="text" name="morada" size="49" value="<?php echo $registo["morada"]; ?>"></p>
<p>Contacto <input type="text" name="contacto" size="47" maxlength="9" value="<?php echo $registo["contacto"]; ?>"></p><br>
<p><input type="submit" value="Alterar" name="alterar"><input type="reset" value="Repor" name="B2"></p>
</form>
</div>