Forum Moderators: coopster
I got a code for user login from <url>http://evolt.org/php_login_script_with_remember_me_feature#authorbio</url>
but i could not adjust the position of login form to center of page, could you help, please. Thanks.
i have tried the following to adjust the position of the login form, but i failed for it.
the following code from displaylogin() of the login.php, and i add the center between the form, but it does not work.
<code>
<h1>Login</h1>
<center> //***************** i add the center between form
<form action="" method="post">
<table align="left" border="0" cellspacing="0" cellpadding="3">
<tr><td>Username:</td><td><input type="text" name="user" maxlength="30"></td></tr>
<tr><td>Password:</td><td><input type="password" name="pass" maxlength="30"></td></tr>
<tr><td colspan="2" align="left"><input type="checkbox" name="remember">
<font size="2">Remember me next time</td></tr>
<tr><td colspan="2" align="right"><input type="submit" name="sublogin" value="Login"></td></tr>
<tr><td colspan="2" align="left"><a href="register.php">Join</a></td></tr>
</table>
</form>
</center>
</code>