Re: Extra Space Around HTML Forms

by cssavenger(at)attbi.com

 Date:  Thu, 25 Apr 2002 12:40:32 +0000
 To:  hwg-techniques(at)hwg.org
  todo: View Thread, Original
You can also work around it by using CSS position: 
relative. 
 Some variation of this should work style="position: 
relative; top: 
-17px; left:25px;" just add it to the tag of the 
element directly below 
the form  try this code out 
<FORM action="http://somesite.com/prog/adduser" 
method="post">
First name: <INPUT type="text" name="firstname"><BR>
Last name: <INPUT type="text" name="lastname"><BR>
email: <INPUT type="text" name="email"><BR>
<INPUT type="radio" name="sex" value="Male"> Male<BR>
<INPUT type="radio" name="sex" value="Female"> 
Female<BR>
<INPUT type="submit" value="Send"> <INPUT type="reset">
</FORM>
<p  style="position: relative; top: -17px; left:25px;"> 
stuff is here 
but there is no line space ;)</p>


--
Caislander
>From the land of Sunshine Surf & 
Code
> At 19:59 24/04/02 -0400, Nathan wrote:
> >Has anyone dealt with the issue of extra space around (especially right
> >below) a form on a web page? 

HWG hwg-techniques mailing list archives, maintained by Web Professional Association - 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.