You are here: Vertically centering a form in a table « HTML « IT news, forums, messages
Vertically centering a form in a table

Posted by JonABurgess on 11/30/45 11:54

I am trying to put a google search form into a table but I cannot get
it to align vertically. There is a space below the form that I can't
find the source of. This code below is for a table with 'rounded
corners'. The form starts immediately after the top corners but there
is a space below it before the bottom corners start. Anyone have any
ideas as to why this is?



<table align="center" border="0" cellpadding="0" cellspacing="0"
bgcolor=#4c4c4c>

<tr>
<td valign="top"><img src="tl.gif"></td>
<td></td>
<td valign="top"><img src="tr.gif"></td>
</tr>

<tr>
<td></td>

<td>
<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<A HREF="http://www.google.com/"></a>
<INPUT TYPE=text name=q size=25 value="">
</FORM>
</td>

<td></td>
</tr>

<tr>
<td valign="bottom"><img src="bl.gif"></td>
<td></td>
<td valign="bottom"><img src="br.gif"></td>
</tr>

</table>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация