Link to home
Start Free TrialLog in
Avatar of chrishintz
chrishintz

asked on

Whitespace after </form>

How can I get rid of the whitespace after the </form> tag in IE?

Or visual: How to get the red and black border overlap eachother?

[code]
<table style="border: solid red 2px;">
<tr><td><form action="/inbox/?forward=12" method="get" style="border: solid black 2px;">
<input type="text" name="Emailaddress" maxlength="50" style="width: 200pt;">
<input type="submit" name="submit" value="Submit" style="position: relative; top: -2px; width: 75pt; font-size: 11px;">
</form></td></tr></table>
[/code]
Avatar of tncbbthositg
tncbbthositg

Chris,

  I've had that problem too.  Usually, I find that I only really need one form per page so I dont have that problem anymore, but I think I used one of display settings (probably inline) or I used a negative margin (i.e., margin-bottom: -10px;).  Line-height might work too.  I'm not sure.

I know this doesn't help much.  Cd& and seanpowell probably will help more.

TNC
ASKER CERTIFIED SOLUTION
Avatar of TheKenman
TheKenman
Flag of United States of America 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
<form style="display: inline;">

or in your CSS


<style>
form {
display: inline;
}
</style>



bruno
SOLUTION
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
glad we could assist, thanks for the A.
I concur, thanks =)