tags:

views:

12

answers:

0

HI,

I am trying to style a form so that it is only 27px high, but for some reason I get what looks like a return, is there any way around this?

The reason, I hear you ask, is that I want a submit button which posts back to the same form which is, yep you guessed it, only 27px high and that is it

<form name="frmmakedefault" target="_self" method="post" action="">
<input type="image" 
             src="/etearsheets/images/DefaultButton.png"
             alt="Make this my default etearsheets page."
             onmouseover="this.src='/etearsheets/images/DefaultButton_On.png'" 
             onmouseout="this.src='/etearsheets/images/DefaultButton.png'"
             style="padding: 0 0 0 0;border:none;vertical-align:middle;width:139px;height:25px;"
                     />
</form>

Everything that I have tried has failed...

Thanks, R

Of course then I instantly found the answer:

style="margin: 0px; padding: 0px;"