RE: HTML question?

Put the <FORM> outside the table:


<FORM>
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=1>
<TR>
	<TD>Text here</TD>
	<TD>Text here</TD>
</TR>
</TABLE>
</FORM>

Hope this helps...
  _____

~ Richard Allsebrook ~
Applications Developer and Webmaster
Easysoft Limited, No3 The Embankment, Leeds, LS1 4BJ
http://www.easysoft.com <http://www.easysoft.com>  - http://www.cinema.com
<http://www.cinema.com>
"A computer lets you make more mistakes faster than any invention in human
history - with the possible exceptions of handguns and tequila."

  _____





-----Original Message-----
From: html-tidy-request@w3.org [mailto:html-tidy-request@w3.org]On
Behalf Of Bischoff, Alex
Sent: Thursday, November 16, 2000 4:05 PM
To: html-tidy@w3.org
Subject: HTML question?


I apologize if this is off topic, but I didn't know where else to turn.
Really, if you know of a more appropriate forum, I'd be happy to hear of it.

Anyhow, I'm dealing with a form in a table cell. However, both Netscape and
IE seem to want to insert a carriage return after </FORM> :(.

On work-around seems to be to include the <FORM> tags outside of the <TD>
tags. And, yes, I know that's not legal HTML -- that's why I'm actively
looking for a better solution ;).

Below is a short file which demonstrates this problem. Any ideas?

<HTML>
<HEAD>
<TITLE>Tables test</TITLE>
</HEAD>

<BODY>

<!-- notice the extra carriage return in the rendering of this version -->
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=1>
<TR>
	<TD>Text here</TD>
	<TD><FORM>Text here</FORM></TD>
</TR>
</TABLE>
<BR>

<!-- this version "fixes it", but is unfortunately not legal HTML -->
<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=1>
<TR>
	<FORM>
	<TD>Text here</TD>
	<TD>Text here</TD>
	</FORM>
</TR>
</TABLE>
</BODY>
</HTML>


Alex Bischoff                                              3812078 on ICQ
 -------------------------------------------------------------------------
 export-a-crypto-system-sig RSA-2-lines-PERL
 print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
 )]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`
 -------------------------------------------------------------------------
 Run a Free Program and You Could Win $1000 --> http://www.distributed.net/

Received on Thursday, 16 November 2000 11:36:58 UTC