# Table with horizontal lines only

**URL:** <https://community.hubspot.com/t/table-with-horizontal-lines-only/37927>\
**Category:** CMS Development\
**Created:** [May 26, 2021, 9:34am UTC](https://community.hubspot.com/t/table-with-horizontal-lines-only/37927 "2021-05-26T09:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![piersg](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/piersg/32/99782_2.png) [@piersg](https://community.hubspot.com/u/piersg)\
**Post date:** [May 26, 2021, 12:05pm UTC](https://community.hubspot.com/t/table-with-horizontal-lines-only/37927/4 "2021-05-26T12:05:18Z")

</div>

Add this to your page’s Header HTML in the advanced settings

```lia-code-sample
<style>
 table {
 border-collapse: collapse;
 border: none;
 }
 tr {
 border-top: 1px solid black;
 }
 tr:first-child {
 border-top: none;
 }
 td {
 border: none !important;
 }
</style>

```

You should get this

 ![piersg_0-1622030697656.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/a/a/aada965f147b1aaa7a7cbfc1d00b97af354d7044.png)

---

_[View the full topic](https://community.hubspot.com/t/table-with-horizontal-lines-only/37927)._
