RE: Stacking forms without excess space

by "Charlton, Mark" <Mark.Charlton(at)sgcna.com>

 Date:  Wed, 01 Nov 2000 11:27:54 -0500
 To:  "'Dave Alders'" <yldman(at)sierra.net>
 Cc:  "'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
Hi

The only way I can think around this is to use stylesheets to remove the
margin / padding around the form element. Either the margin or line spacing
or padding should remove the forced space.  I haven't tried it on forms, but
I know it works on heading elements, in theory it should work.

The other question is does it have to be different forms?

Mark

> -----Original Message-----
> From: Dave Alders [mailto:yldman(at)sierra.net]
> Sent: Wednesday, November 01, 2000 09:50
> To: hwg-techniques(at)hwg.org
> Subject: Stacking forms without excess space
> 
> 
> Hi,
> 
> I need to use four or more forms on a page and want them to
> display as compactly as possible.  It seems that forms
> inherently want to render in both NS and MSIE with an extra
> line of white space below them, that is, below the closing form
> tag.  The only workaround I've seen used for this is to nest both
> the open and close form tags in open and close tr tags
> respectively.  Although this doesn't validate, it seems to work
> OK in NS and MSIE.  I've made a few quick examples to help
> illustrate this:
> http://www.roundridge.com/formtest_td.html
> http://www.roundridge.com/formtest_tr.html
> 
> The first is valid code, but has extra space.  The latter is not
> valid code, but works and solves the problem.
> 
> Any thoughts or better solutions?  (I've tried not putting each
> form in it's own cell, and everything else I could think of to no
> avail.)
> 
> TIA,
> 
> Dave Alders
> 

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.