• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 393
  • Last Modified:

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
0
sulzener
Asked:
sulzener
1 Solution
 
pinaldaveCommented:
move the form or cfform out of the table and it will eliminate the white space.

<cfform>
<table>

should be
<table>
<cfform>
0
 
smaglio81Commented:
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
 
sulzenerAuthor Commented:
pinaldave ... your solution did not resolve my problem, but smaglio81's did.  thank you both.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now