# Default layout for form fields

**URL:** https://forum.mautic.org/t/default-layout-for-form-fields/21818
**Category:** Product Support
**Created:** [November 29, 2021, 5:12pm UTC](https://forum.mautic.org/t/default-layout-for-form-fields/21818 "2021-11-29T17:12:27Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mojo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mojo/32/543_2.png) [@mojo](https://forum.mautic.org/u/mojo)
#### Post date: [November 29, 2021, 5:12pm UTC](https://forum.mautic.org/t/default-layout-for-form-fields/21818/1 "2021-11-29T17:12:27Z")

</div>

Hello

I am using v3.3.4 but this is in all versions

I would like to make it easier for me to set up the forms.  
I can’t always use the landing pages and then I put the form code in.  
I have one problem with form default layout.  
Unfortunately, the default layout is bad in most cases.

Example  
Description: Name, Telephone, Address  
Data: input html field that collects data  
I will use the tables for example, I wonder if the forum will display it correctly ? 🙂

There is a vertical one: each block is below the next.

Description 1  
Data 1  
Description 2  
Data 2  
Description 3  
Data 3

| Description 1 |
| Date 1 |
| Description 2 |
| Date 2 |
| Description 3 |
| Date 3 |

Link to Mautic DOCS with code [Managing forms | Mautic](https://docs.mautic.org/en/components/forms/managing-forms#pre-populate-a-form-field-value)

I would like everyone to be there - horizontally.  
Description 1: Data 1  
Description 2: Data 2  
Description 3: Data 3

| Description 1 | Date 1 |
| Description 2 | Date 2 |
| Description 3 | Date 3 |

No matter if we use the landing page or the code - each time a standard, vertical layout is generated ☹

Now, every time after creating a form, I have to rewrite the code using Form Injection and Manual copy option  
Mautic DOCS [Managing forms | Mautic](https://docs.mautic.org/en/components/forms/managing-forms#form-injection)

It makes my work terribly difficult ☹  
Where and how can I change the default form creation code from vertical to horizontal?

I use css styles  
display: table-row;  
display: table-cell;  
display: table-header-group;

in \> Attributes \> Label Attributes or Field Container Attributes, but its makes a mess instead of helping ☹
