Jump to content

Why does IE do that?


Cronthenoob

Recommended Posts

 		<a href="index.php?login=register" class="links">Click here to register!</a><br />		<form name="login" method="post" action="index.php?action=login">			<font class="formtext">Username:<br /><input type="text" name="username" size="15"><br />			Password:<br /><input type="password" name="password" size="15"></font><br />			<img src="images/login-button.gif"></form>

Thats all that is in login file.And here is the table where that file is called up:

		<table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0">						<tr>				<td><?PHP include("login.php");?></td>			</tr>		</table>

Link to comment
Share on other sites

try this in the login file

					<a href="index.php?login=register" class="links">Click here to register!</a>					<br />							<form name="login" method="post" action="index.php?action=login" style="margin:0px;padding:0px">						<font class="formtext">Username:						<br />						<input type="text" name="username" size="15">						<br />						Password:						<br />						<input type="password" name="password" size="15"></font>						<br />						<img src="images/login-button.gif"><br/>					</form>

Link to comment
Share on other sites

nope it don't :) also I added a <br/> to the end of the img tag because sometimes IE will actually add a line break after the image (if you don't place a <br/>) when using tables. Don't know why but it is IE

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...