W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2000

HTML question?

From: Bischoff, Alex <Alex.Bischoff@xpedior.com>
Date: Thu, 16 Nov 2000 10:04:34 -0600
Message-ID: <9B265BAA5315D411B6A500D0B7694942BF84DD@ALEX00>
To: html-tidy@w3.org
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:12:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:44 GMT