Forum Moderators: open

Message Too Old, No Replies

FF table height works, but IE decides its own height

         

daneosporin

2:39 am on Jan 22, 2006 (gmt 0)

10+ Year Member



I've been trying to add a google search box on my navigation menu and I'm having trouble keeping the height from changing on IE.

<table height="24" border="1" cellpadding"0" cellspacing="0">
<tr><td valign="top">
<a href="http://www.mysite.com/tools" class="tabbut">Tools</a>
<a href="http://www.mysite.com/products" class="tabbut">Products</a>
</td><td valign="top">
<FORM name="form1" method="GET" action="http://www.google.com/custom">
Web<input type="radio" name="sitesearch" value="">
&nbsp mysite.com<input type="radio" name="sitesearch" value="http://www.mysite.com" checked>
<INPUT TYPE="text" name="q" class="searchtxt" size="15" maxlength="50" value="">
<INPUT type="submit" onclick="submit" name="sa" value="submit">
<INPUT type="hidden" name="cof" VALUE="http://www.mysite.com/images/logo.gif">
<input type="hidden" name="domains" value="http://www.mysite.com"></FORM>
</td></tr></table>

It looks OK on Firefox, but EI makes the row too tall. Is there any way I can fix this?
- Danny

SuzyUK

12:10 pm on Jan 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



form {margin: 0;}

there are default margins on form elements remove these and all should be well.

Suzy