How to use CSS to achieve vertical alignment of pictures and text on the same line
Editor to share with you how to use CSS to achieve the vertical alignment of pictures and text on the same line, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
The code is as follows:
Align the pictures and text in the same line vertically
Body {
Font-size:9pt
}
# buttons * {
Vertical-align:middle
}
/ * if the above is not compatible with Firefox, you can add the following sentence as well!
# buttons * {
Vertical-align:middle
}
, /
Retrieve the password.
Are the pictures and words above vertically aligned?
The above is all the contents of the article "how to use CSS to achieve vertical alignment of pictures and text on the same line". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!