# CSS to make menu tabs a fixed width

**URL:** <https://forums.knack.com/t/css-to-make-menu-tabs-a-fixed-width/6847>\
**Category:** API & Custom Code\
**Created:** [January 30, 2019, 9:00pm UTC](https://forums.knack.com/t/css-to-make-menu-tabs-a-fixed-width/6847 "2019-01-30T21:00:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JosephPott54152](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/josephpott54152/32/4025_2.png) [@JosephPott54152](https://forums.knack.com/u/JosephPott54152)\
**Post date:** [January 30, 2019, 9:00pm UTC](https://forums.knack.com/t/css-to-make-menu-tabs-a-fixed-width/6847/1 "2019-01-30T21:00:26Z")

</div>

I'm new to CSS and was wondering if anyone could tell me how to set the menu tabs to a fixed width.

Thanks

---

<div class="post-metadata">

**Author:** ![StephenChapman](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/stephenchapman/32/1759_2.png) [@StephenChapman](https://forums.knack.com/u/StephenChapman)\
**Post date:** [February 25, 2019, 10:36pm UTC](https://forums.knack.com/t/css-to-make-menu-tabs-a-fixed-width/6847/2 "2019-02-25T22:36:01Z")

</div>

Hi Joseph,

Sorry if this reaches you too late. If you add the following code to your CSS editor, it should give you what you want:

```
a.kn-link.kn-link-page.kn-button
{
width: 200px !important; // Change the width
}
```
