# Any CSS for making the first column be static?

**URL:** <https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650>\
**Category:** Ask for Help\
**Created:** [May 25, 2024, 3:18pm UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650 "2024-05-25T15:18:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bungchow\_IDEApps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bungchow_ideapps/32/49062_2.png) [@Bungchow\_IDEApps](https://community.glideapps.com/u/Bungchow_IDEApps)\
**Post date:** [May 25, 2024, 3:18pm UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/1 "2024-05-25T15:18:25Z")

</div>

Does anyone know how CSS to make the first column of table be static?

Thanks in advance.

 ![Screenshot 2024-05-25 221208](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/4/249e90ab2e3b3b7927e8e5297123048f447c50ee.png)

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [May 26, 2024, 12:42am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/2 "2024-05-26T00:42:54Z")

</div>

What do you mean by static?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 26, 2024, 1:10am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/3 "2024-05-26T01:10:08Z")

</div>

> **[CSS Library](https://css-library.glide.page/dl/library/s/8836b3/r/mgeKMRG7Sdyag0k3xTw5cg)**

He means this, but for horizontal direction.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [May 26, 2024, 1:23am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/4 "2024-05-26T01:23:23Z")

</div>

I once lost access to your library, because it used a long key. This needs to be thought about rather than creating a new one.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [May 26, 2024, 1:26am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/5 "2024-05-26T01:26:36Z")

</div>

That’s the only way it can kind of work without users signing in though.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [May 26, 2024, 1:34am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/6 "2024-05-26T01:34:20Z")

</div>

```auto
.className td:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    min-width: 2.0rem !important;
    max-width: 3.0rem !important;
    background: white;
    z-index: 1; 
}

```

---

<div class="post-metadata">

**Author:** ![Bungchow\_IDEApps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bungchow_ideapps/32/49062_2.png) [@Bungchow\_IDEApps](https://community.glideapps.com/u/Bungchow_IDEApps)\
**Post date:** [May 26, 2024, 7:34am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/7 "2024-05-26T07:34:06Z")

</div>

CSS-nya udah bisa dipakai, manstaaap! terima kasih @Himaladin 👍 🙏

---

<div class="post-metadata">

**Author:** ![Bungchow\_IDEApps](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/bungchow_ideapps/32/49062_2.png) [@Bungchow\_IDEApps](https://community.glideapps.com/u/Bungchow_IDEApps)\
**Post date:** [May 26, 2024, 7:36am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/8 "2024-05-26T07:36:51Z")

</div>

Your css-library is a great contribution! @ThinhDinh 👍 🤝

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/system/32/53398_2.png) [@system](https://community.glideapps.com/u/system)\
**Post date:** [June 2, 2024, 7:37am UTC](https://community.glideapps.com/t/any-css-for-making-the-first-column-be-static/73650/9 "2024-06-02T07:37:09Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
