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

RE: HTML question?

From: Bertil Wennergren <bertilow@chello.se>
Date: Thu, 16 Nov 2000 12:04:04 -0500 (EST)
To: "Bischoff, Alex" <Alex.Bischoff@xpedior.com>, <html-tidy@w3.org>
Message-ID: <HBECLJECMMGNJGANOJEPKENHCBAA.bertilow@chello.se>
Richard Allsebrook:

> 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...

That will help unless that particular table is to harbour more than 
one form, as I suspect might be the case.

One question that Alex has to ask himself is if this data is really 
a table. "table" is for tabular data, not for layout. If it's just 
layout that your after, Alex, then ask yourself if it can be done 
without table entirely, or at least will minimal use of tables. 
Perhaps you'll wind ut with just one table per form.

In any case the extra white space after the form can be gotten rid 
of in MSIE4/5 by including this style sheet info:

  form { margin-bottom: 0; }

Nescape 4 pays little attention to that, but who really cares about 
Netscape 4 these days?

#####################################################################
                          Bertilo Wennergren
                  <http://purl.oclc.org/net/bertilo>
                         <bertilow@chello.se>
#####################################################################
 
Received on Thursday, 16 November 2000 14:15:44 GMT

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