# Search Control fields do not align

**URL:** <https://forums.knack.com/t/search-control-fields-do-not-align/12420>\
**Category:** Ask the Community\
**Created:** [April 20, 2022, 7:00pm UTC](https://forums.knack.com/t/search-control-fields-do-not-align/12420 "2022-04-20T19:00:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PeterG](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PeterG](https://forums.knack.com/u/PeterG)\
**Post date:** [April 20, 2022, 7:00pm UTC](https://forums.knack.com/t/search-control-fields-do-not-align/12420/1 "2022-04-20T19:00:47Z")

</div>

In the builder the fields appear to be aligned.  
In the app they are not.

Is this a bug or is it just me?

**Builder:**

 ![Search Builder](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/3/35fa7127204b188f3696602b286d27eabc96517f.png)

**App:**

 ![Search App](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/9/94412d887ab7a4b11425133e24159fd1507f9dd0.png)

---

<div class="post-metadata">

**Author:** ![CarlHolmes](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/carlholmes/32/2814_2.png) [@CarlHolmes](https://forums.knack.com/u/CarlHolmes)\
**Post date:** [April 21, 2022, 5:35am UTC](https://forums.knack.com/t/search-control-fields-do-not-align/12420/2 "2022-04-21T05:35:36Z")

</div>

Less a bug more a quirk. A workaround is to reduce the label text, for example, “Keyword Search” to “Search”, then add html code for a non breaking space (`&nbsp;`) after the label name to manually align. The above code is one space. You can’t simply use the space bar as it removes it when you save. You have to hard code it. Add the code multiple times, one for each space. This will add additional spaces to the shorter labels moving the input field to the right.

> **[HTML Entities](https://www.w3schools.com/html/html_entities.asp)**
>
> W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.

Bit hit and miss and a very manual process to align. Not sure why the builder shows them aligned and the live app not.

It’s been this way for as long as I can remember. May be worth dropping a suggestion through to [support@knack.com](mailto:support@knack.com) to see if they can put it on the list. 😉

---

<div class="post-metadata">

**Author:** ![PeterG](https://avatars.discourse-cdn.com/v4/letter/p/977dab/32.png) [@PeterG](https://forums.knack.com/u/PeterG)\
**Post date:** [April 21, 2022, 3:28pm UTC](https://forums.knack.com/t/search-control-fields-do-not-align/12420/3 "2022-04-21T15:28:14Z")

</div>

Okay, thanks for the tip. I’ll send them a note.
