Cronthenoob Posted August 18, 2006 Share Posted August 18, 2006 This is mostly just a cosmetic problem, but it drives me insane why does IE space out everything so much? There is a huge break below the "click here to register" and another below the login button. Link to comment Share on other sites More sharing options...
aspnetguy Posted August 18, 2006 Share Posted August 18, 2006 can you post that snippet of code? If you are using tables I am 99% sure I know what the trouble is. Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 18, 2006 Author Share Posted August 18, 2006 <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 More sharing options...
aspnetguy Posted August 18, 2006 Share Posted August 18, 2006 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 More sharing options...
Cronthenoob Posted August 18, 2006 Author Share Posted August 18, 2006 try this in the login file<form name="login" method="post" action="index.php?action=login" style="margin:0px;padding:0px"> Worked. I guess IE doesnt default 0 for margin and padding in a form. Link to comment Share on other sites More sharing options...
aspnetguy Posted August 18, 2006 Share Posted August 18, 2006 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now