The best way to display your HTML form is to insert it inside a table, like this:
<! DOCTYPE html>
<head>
<title>FORM</title>
</head>
<body>
<form action="submit.php" method="post">
<table border="0">
<tr>
<td> Username </td><td>< input type="text" name="username"></td>
</tr>
<tr>
<td> Password </td>< input type="password" name="username"></td>
</tr>
<tr><td><input type="submit" value="LOGIN"></td>
</tr>
</table>
</form>
</body>
</html>
When you load the form in this way you will see that it appears without the table borders. and the form will look good.
No comments:
Post a Comment