-
FPX_InvestimentosPerguntado em 25 de outubro de 2023 às 13:20
Olá, como faço para centralizar todos os campos no formulário?
Digo tudo ficar centralizado.
-
Jovanne Jotform SupportRespondido em 25 de outubro de 2023 às 15:45
Hi FPX_Investimentos,
Thanks for reaching out to Jotform Support. Unfortunately, our Portuguese Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in Portuguese, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.
Now, let me help you with your question. You need to insert a CSS code so your form fields will be centered. Can you share your form URL so we can check it on our end? You can check this guide on how to get your form URL. You can also check this demo form as an example where all the fields are centered on a form.
Give it a try and let us know if you need any help.
-
FPX_InvestimentosRespondido em 25 de outubro de 2023 às 17:21
-
Jovanne Jotform SupportRespondido em 25 de outubro de 2023 às 17:42
Hi FPX_Investimentos,
Please try inserting this CSS code into your form to center all the fields:
/*center all the fields*/
.form-label.form-label-auto, .form-section{
text-align: center;
width: 100%;
}
div#cid_3, div#cid_4, div#cid_5, div#cid_6, .form-single-column {
margin: auto;
width: 50%;
padding: 10px;
}
/*ends here*/
Inserting CSS code is easy. Let me show you how:
- In your Form Builder, click the Form Designer (blue paintbrush icon).
- Go to the Styles tab, copy the CSS code above, and append this to the text area.
You can also check my cloned form as a reference.
Give it a try and reach out again if you have any other questions.
-
michaelmiller7399Respondido em 17 de novembro de 2023 às 02:46
To center all fields on a form, use CSS. Add these rules: form { display: flex; flex-direction: column; align-items: center; } form label, form input, form textarea, form button { margin-bottom: 10px; } If you're having trouble with your assignments you should visit https://ukwritings.com/do-my-assignment to do assignment for me. Their services are dependable and efficient, having used them myself. The group not only guarantees perfect assignments but also timely delivery. For busy students, it's a lifesaver because it offers a hassle-free way to achieve academic success.