JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
How to remove the empty blank space above and at the bottom of the form.Asked by ilanagriffo on October 23, 2015 at 11:21 AMAnd when i try to embed it - it has a lot of white space a the top, and the form doesn't seem to be centered under the "contact" - is it possible to change that?blank space css padding inject custom css
Could you try injecting the following CSS code to your JotForm with the margin reduced further to -40px to see if that helps?
Here is how to do that:
1) Click on Setup & Embed.
2) Click on Preferences.
3) Click on Form Styles.
4) Copy and paste the code above to Inject Custom CSS.
You can also use the following CSS code, as it’s pretty short and concise. This also removes the top spacing of the form.
If you have any question or issues, please do not hesitate contacting us. We will be glad to assist you.
Thanks - that got rid of the space below "contact" but not above...
The "details" is still not the right width, and the whole form seems to be on the right instead of centered on my page :(
I have checked your website where your form is embedded, it seems to be positioned centered on the page. The reason why it looks like it's not is because of the lengthy textbox fields as shown on the image below.
You can add this CSS codes to your form using this guide: How-to-Inject-Custom-CSS-Codes
width: 250px !important;
max-width: 590px !important;
width: 592px !important;
padding: 0px !important;
Please check this form: https://form.jotform.com/52955121681961
I hope this helps. Let us know if you will be needing any further assistance. Thank you.
Thank you - it's perfect now!