Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

How can I get these fields to line up correctly?

Head out to http://countryshowdown.com/. At the very top, you'll see two fields where a user can login. In Safari it looks fine, but in IE, the Password field is a little bit above the username field.

It's a small thing, but it's bugging me and I've tried several things to get them to line up to no avail.

What am I missing? What can I do to get these to line up correctly?

Here's my html:

<table cellspacing="1" cellpadding="1" border="0">
		<tr>
		<td align="left">&nbsp;<form action="contestants_validate.php" method="Post"><input type="text" name="email" class="login_box" value="username"></td>
		<td><input type="password" name="password" class="login_box" value="username"></td><td><input type="image" src="images/new_login_button.jpg" border="0" 
		name="submit"></td>
		</tr></table></form>

Open in new window


...and here's my stylesheet as far as the "login_box:"

input.login_box{
   border:0px;
  width:109px;
  height:21px;
  font-size: 10px;
  color: #cccccc;
  display: inline;
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bruce Gust

ASKER

That did it, Gary!

Thanks!