Jump to content

[SOLVED] Browser Consistency Problems with Login Form? One field much longer than other?


spiceydog

Recommended Posts

I have a simple login form on my webpage (as seen below) that looks and works just fine in some versions of FF (only on PC), Opera 9.5, and Safari (Although there are a few minor problems in even these).

 

The best way I can explain these problems are with pictures which I have posted below with a description. Here is a picture of about what I want (viewed in safari):

safarilu1.jpg

Although almost what we want the only slight problem is the height of the image needs to be changed a little. When we do change it the valign gets all screwey and it's always a few pixels above or below it.

 

Firefox 2.0.0.16 on Mac:

ff2macpicsv4.jpg

 

Internet Explorer 6 on PC:

iepd2.jpg

 

 

Now here is the relevant source code:

<form action="<?php echo $_SERVER['PHP_SELF']?>" method="post"><table id="Table_01" width="100%" height="60" border="0" cellpadding="0" cellspacing="0">
<tr>
	<td width="10">
		<input type="text" id="username" name="username" onFocus="clearu();" value="username" style="font-size:15px" size="15"></td>
	<td width="69" rowspan="2" align="center" valign="top">
<input type="image" value="Login" name="submit" src="images/login.jpg">
</td>
  <td width="137" rowspan="2" class="style2"><a href="register.php">register account</a><br>
      <br>
      <a href="recovery.php">lost your password?</a>
      </td>
</tr>
<tr>
	<td width="10"><input id="password" type="password" onFocus="clearp();" name="pass" value="password" style="font-size:15px" size="15"></td>
  </tr>
</table>
</form>

 

Is there any easier way going about making this table and such? If not what is going on in those two pictures that are so messed up?

 

Thanks in advance!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.