# How Edit Line Spacing in Forms

**URL:** <https://community.hubspot.com/t/how-edit-line-spacing-in-forms/74000>\
**Category:** Lead Capture Tools\
**Created:** [January 30, 2023, 6:51am UTC](https://community.hubspot.com/t/how-edit-line-spacing-in-forms/74000 "2023-01-30T06:51:01Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [January 30, 2023, 1:15pm UTC](https://community.hubspot.com/t/how-edit-line-spacing-in-forms/74000/4 "2023-01-30T13:15:41Z")

</div>

They can add extra spacing between lines/categories in your HubSpot forms by using the CSS Box Model.  
And the CSS Box Model provides them with the ability to add padding, margins, and borders to your HTML elements. To add extra spacing between lines/categories, they can use the padding property. The syntax for padding is:

padding: \<top\> \<right\> \<bottom\> \<left\>

Example:  
padding: 10px 0 10px 0;

The above code will add 10px of padding on the top, bottom, left, and right of the element. they can adjust the numbers to add the desired amount of spacing between lines/categories.

---

_[View the full topic](https://community.hubspot.com/t/how-edit-line-spacing-in-forms/74000)._
