How do you set vertical padding on text input

I have a text box with all borders turned off apart from the bottom border which I have set at width 1.

The problem is that the text is too far away from the border. I can see the horizontal padding setting, but can’t see anywhere where I can set the vertical padding.

Hope someone can help.

One way is to lower the height of the input.

Another way is to put a top border on it and make that border transparent (or the same color as your background color)


1 Like

Excellent solution @stone

Worked straight away and looks great. Much appreciated!

1 Like

Great, If you feel the problem is solved, please mark the thread as solved.

If you have any other questions feel free to ask.


This topic was automatically closed after 70 days. New replies are no longer allowed.