# Fix Table Column Header Justification

**URL:** https://forums.knack.com/t/fix-table-column-header-justification/9468
**Category:** Feature Requests
**Tags:** tables
**Created:** [November 13, 2016, 10:01pm UTC](https://forums.knack.com/t/fix-table-column-header-justification/9468 "2016-11-13T22:01:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![KeithSterl25609](https://avatars.discourse-cdn.com/v4/letter/k/ee59a6/32.png) [@KeithSterl25609](https://forums.knack.com/u/KeithSterl25609)
#### Post date: [November 13, 2016, 10:01pm UTC](https://forums.knack.com/t/fix-table-column-header-justification/9468/1 "2016-11-13T22:01:00Z")

</div>

When I set the justification (left, center, right) of a column in a table, the header for that column stays left-justified and ignores the setting. The column header should have the same justification as the column.

See attached screenshot.

---

<div class="post-metadata">

### Author: ![JustinWill25424](https://avatars.discourse-cdn.com/v4/letter/j/35a633/32.png) [@JustinWill25424](https://forums.knack.com/u/JustinWill25424)
#### Post date: [May 26, 2020, 9:06pm UTC](https://forums.knack.com/t/fix-table-column-header-justification/9468/3 "2020-05-26T21:06:05Z")

</div>

Evening,

I have tried using the code above but they are still not matching the data. Is it a case of just simply copying the code into the CSS box?

Thanks

&nbsp;

---

<div class="post-metadata">

### Author: ![DonaldLove38066](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/donaldlove38066/32/139_2.png) [@DonaldLove38066](https://forums.knack.com/u/DonaldLove38066)
#### Post date: [April 28, 2018, 10:09pm UTC](https://forums.knack.com/t/fix-table-column-header-justification/9468/4 "2018-04-28T22:09:10Z")

</div>

Agreed. I can't understand the scenario where you would want the header to have a different alignment than the content.

---

<div class="post-metadata">

### Author: ![KentSignor46759](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@KentSignor46759](https://forums.knack.com/u/KentSignor46759)
#### Post date: [September 23, 2017, 3:10am UTC](https://forums.knack.com/t/fix-table-column-header-justification/9468/5 "2017-09-23T03:10:31Z")

</div>

You can do it with this code in the CSS editor:

&nbsp;

```
th span {
margin: auto !important;
}
```

---

<div class="post-metadata">

### Author: ![KentSignor46759](https://avatars.discourse-cdn.com/v4/letter/k/a88e4f/32.png) [@KentSignor46759](https://forums.knack.com/u/KentSignor46759)
#### Post date: [September 22, 2017, 4:05pm UTC](https://forums.knack.com/t/fix-table-column-header-justification/9468/6 "2017-09-22T16:05:31Z")

</div>

Please please please.

---

<div class="post-metadata">

### Author: ![undefinedu13900](https://avatars.discourse-cdn.com/v4/letter/u/ac91a4/32.png) [@undefinedu13900](https://forums.knack.com/u/undefinedu13900)
#### Post date: [April 20, 2017, 1:45pm UTC](https://forums.knack.com/t/fix-table-column-header-justification/9468/7 "2017-04-20T13:45:59Z")

</div>

I agree!
