Question about width of search box

I have search box with size=“26” but on smaller resolution screens the box messes up the rest of my layout. Is there a way to make a variable sized search box without using the percentage sizing? The % sizes mess up my layout as well for some reason.

As noonnope says, a link would be good, as % sounds like the best option, and we could offer tips on how to make it work with your layout if we could see it.

you could use min-width, max-width.

a link can be more helpful in order to correctly id the problem.

The link is and the two search boxes are the “Find products” and “Find coupons” boxes.

Thanks guys