W3C home > Mailing lists > Public > www-html@w3.org > June 1998

Re: FORMS

From: Peter Flynn <pflynn@imbolc.ucc.ie>
Date: 18 Jun 1998 16:43:57 +0100
To: andy@spray.se
Cc: www-html@w3.org
Message-id: <199806181543.QAA18928@imbolc.ucc.ie>
   I have a problem. I am designing a page with tables, and in the tables I
   have different FORMS. The problem is that
   the <FORM> and </FORM> tag is semantically treated as a paragraph, hence
   I get a <BR> after the </FORM>, but I do not want it, it ruins the
   design. I cannot use stylesheets, because the site has to work with
   NS3/IE3.

   The forms are both METHOD="POST" and METHOD="GET".

   Any ideas?

Nope. Both big browsers are fatally broken here, although there's
probably some arcane bodge you can apply. They both follow the
fallacious concept introduced right at the beginning that an end-tag
like </P>, </FORM>, </Hn> etc "has" to cause some vertical white-space
for some reason. In normal typesetting/DTP, its the _start_ of an
element which does most of the white-space work, but in any event, it
should be configurable.

It's particularly stupid because most DTDs declare FORM in mixed
content (ie it's an inline element when it occurs inside <TD>), so
there should be no question of vertical white-space at all.

Have you tried nullifying it with a CSS stylesheet?

///Peter
Received on Thursday, 18 June 1998 11:42:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:37 GMT