How to eliminate the vertical space created by <CFFORM> or <FORM>?

Does anyone know if there is a way to eliminate the vertical space created whrn using <CFFORM> or <FORM>?  Is seems when I add that to my code it creates a space in the browser display.  Thanks again ... sulzener
sulzenerAsked:
Who is Participating?
 
smaglio81Connect With a Mentor Commented:
create a CSS page, 'basic.css' with the code:

form {
   margin: 0;
   padding: 0;
}

and then add this line to the header of your webpage (the section where the title and meta information are set):

<link type="text/css" rel="stylesheet" href="basic.css" />

HTH,

Steven
0
 
pinaldaveCommented:
move the form or cfform out of the table and it will eliminate the white space.

<cfform>
<table>

should be
<table>
<cfform>
0
 
sulzenerAuthor Commented:
pinaldave ... your solution did not resolve my problem, but smaglio81's did.  thank you both.
0
All Courses

From novice to tech pro — start learning today.