In web page production, input and img are often placed in the same line. The img tag is always one header higher than input, which is very ugly.
Method for CCS to implement input and img horizontal alignment
Just add vertical-align:middle to input and img at the same time, the code is as follows:
Copy the code