Reply to Re: How to remove the spacing between <form> tag?

Your name:

Reply:


Posted by Steve Swift on 10/18/07 05:50

> change
> <td>[history | <form>payment</form>]</td>
> to
> <td>[history | <form style="display:inline">payment</form>]</td>

I've lost the beginning of this thread, so don't know the original question.

Whenever I'm using a <FORM> inside a <TABLE> I always place the <FORM>
inside the <TABLE> tag but *outside* any <TD></TD> or <TR></TR> constructs.
I discovered (by trial and error) that placing the <FORM> inside one of
your cells or rows would lead most browsers to dump some inexplicable
extra space somewhere, usually at the end of the last cell on the first
row. It's most noticeable if the affected cell is centred - it fails to
align with others in the same column.

So:
<TABLE>
<FORM>
<TR><TD>

Add closing tags to taste.

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk

[Back to original 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

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