...

View Full Version : Form tag forcing td height



jopassmore
03-14-2005, 03:29 PM
Hi

I have what is probably a very basic question but it has been puzzling me for a while.

I have a form tag in a row of a table. The form has a drop down list of urls and then a go button to go to that location. It all works fine. However, I want the table row to be as thin as it can be as it is on the top bar of my website. When I put the form tag in the table, the row height increases and nothing I do seems to make it smaller. I have tried setting the td height to a small value and even setting a height of the form (not sure if the form tag has a height property) but to no avail.

Is there a trick to get round this one, or am I just being extremely dim?

Thanks

Jo

_Aerospace_Eng_
03-14-2005, 03:47 PM
add this to the open form tag

style="margin:0px;"
that should get rid of the "extra" spacing
so it should look something like this

<form style="margin:0px;" action="blah" method="blah">
your form stuff
</form>

jopassmore
03-14-2005, 11:42 PM
Thanks so much.

That worked a treat!

Jo



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum