Seeking assistance to align a text field and a button in a way that they appear as a combined element. The desired look is shown below (screenshot taken from Chrome Linux):
However, when viewed in Firefox Linux, the button is slightly taller by two pixels:
Sample CSS:
Both elements have been styled with a font size of 16px with a line-height of 19px to maintain consistency. Surprisingly, in Firefox, the button's height is shown as 21px. Adjusting the height manually could result in vertical alignment issues in Firefox unless the font size is reduced (reason unknown).
It appears that setting the line-height on inputs in Firefox is not supported (refer to this article and bug report), so how can I ensure that the elements are displayed at the correct height?
Open to suggestions!