# Space between list columns

**URL:** <https://forums.knack.com/t/space-between-list-columns/10869>\
**Category:** Ask Developers\
**Created:** [August 18, 2021, 3:43pm UTC](https://forums.knack.com/t/space-between-list-columns/10869 "2021-08-18T15:43:58Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [August 18, 2021, 3:43pm UTC](https://forums.knack.com/t/space-between-list-columns/10869/1 "2021-08-18T15:43:58Z")

</div>

Hi guys, an easy one:

How to put space between list columns while mantening the 3 columns view. Which means that the column sizes will have to be reduced proportionately by the increment of the space added in between.

I want to have horizontal space bewteen the coments. Pading and border doesn’t work.

tks!

 ![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/1X/5fcc9a8e7901cf42b94a4500bd291e0838abbfa2.png)

---

<div class="post-metadata">

**Author:** ![JulianKirkness](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/juliankirkness/32/770_2.png) [@JulianKirkness](https://forums.knack.com/u/JulianKirkness)\
**Post date:** [August 19, 2021, 4:54pm UTC](https://forums.knack.com/t/space-between-list-columns/10869/2 "2021-08-19T16:54:29Z")

</div>

Hi Michael,

Try using

.kn-list-item-container {  
border: 2px solid #2D6BB3;  
background: #ffffff;  
text-align: center;  
margin-top: 10px;  
margin-left: 15px !important;  
}

margin-left did the trick for me…

I have written a couple of articles on styling Knack apps (this is from part 2):

> **[Styling Your Knack Apps - Part 1](https://www.onlinedatabase.expert/post/styling-your-knack-apps-part-1)**
>
> I think we can all agree that Knack is an amazing tool which allows us to digitise our businesses really fast. But, initially, apps tend to look a bit bland straight out of the box (by which I mean the views generated by Knack before modification):...

> **[Styling Your Knack Apps - Part 2](https://www.onlinedatabase.expert/post/styling-your-knack-apps-part-2)**
>
> Hopefully you will have found the ideas and CSS code in Part I useful - in this second part I want to take our simple Knack app a little further and make some changes to existing pages. We will then look at making a standalone page - which in reality...

Hope this helps!!

Julian

---

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [August 20, 2021, 10:09am UTC](https://forums.knack.com/t/space-between-list-columns/10869/3 "2021-08-20T10:09:36Z")

</div>

Hi Julian,

Yes I tried that a time ago and probably looking through your styling examples.

But the 3 columns view is not respected. Meaning the size of the comments should be proportionately reduced to have 3 comments on the same line.  
No idea how to do that.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/1X/e88ac63ddef24bbc4dac807e36ac0d3a750e24e7.png)

---

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [August 21, 2021, 8:20am UTC](https://forums.knack.com/t/space-between-list-columns/10869/4 "2021-08-21T08:20:29Z")

</div>

So nobody knows how to do that? Can the Knack people help here?

---

<div class="post-metadata">

**Author:** ![JulianKirkness](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/juliankirkness/32/770_2.png) [@JulianKirkness](https://forums.knack.com/u/JulianKirkness)\
**Post date:** [August 21, 2021, 12:31pm UTC](https://forums.knack.com/t/space-between-list-columns/10869/5 "2021-08-21T12:31:13Z")

</div>

I wasn’t sure what you meant to be honest!

I haven’t had a problem with the 3 columns not showing unless they collapse for a small screen.

---

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [August 22, 2021, 7:19pm UTC](https://forums.knack.com/t/space-between-list-columns/10869/6 "2021-08-22T19:19:38Z")

</div>

Interesting. Indeed I have a 13’ screen laptop, but even when I zoom it does not include the 3 column.

The margin left increases the total size of the view. I don’t know how to decrease proportionately the size of each column. If I put a fix value then the column width will not be responsive on movil.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/1X/73cf5d99ce4740840420a7b34937730c9d7b2cf8.png)

---

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [August 22, 2021, 7:32pm UTC](https://forums.knack.com/t/space-between-list-columns/10869/7 "2021-08-22T19:32:52Z")

</div>

hey! width: auto; does make the 3 columns respect the total size of the view but I want the column with the same size.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/1X/645852ed181e6b93ff311efed9737d8ebc9c403a.png)

width: 30%; works but is not responsive on movil.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/1X/481702f88a6597dc24cd9d3b0c1f76ee56af6600.png)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/1X/d563718d89ebfa288ad33e6a6c481c11aca97ada.png)

---

<div class="post-metadata">

**Author:** ![MichaelG](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/michaelg/32/758_2.png) [@MichaelG](https://forums.knack.com/u/MichaelG)\
**Post date:** [August 25, 2021, 5:26pm UTC](https://forums.knack.com/t/space-between-list-columns/10869/8 "2021-08-25T17:26:12Z")

</div>

So nobody knows how to do that. It shouldn’t be that dificult.
