Home > Article > Web Front-end > Control the vertical centering of text in HTML text boxes through css_HTML/Xhtml_Web page production
When the height attribute of Text is defined, the text entered in Text is not vertically centered. However, you can add CSS to control it so that the entered text is vertically centered to make the web page more perfect.