I have a number input in html. I want to center the text (i.e. the input) that is inside. I of course did:
text-align: center;
which sort of works. The problem is though. The text is now centered when those arrows are shown. But when the arrows disappear, the text stays at the same position which now of course isn't the center anymore.