below the last line of text, and the solution is as shown in Figure 2."/>

below the last line of text, and the solution is as shown in Figure 2.">

Home  >  Article  >  Web Front-end  >  Setting methods and problems of HTML line spacing_HTML/Xhtml_Web page production

Setting methods and problems of HTML line spacing_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:43:591785browse

Setting the line spacing of

can be achieved using style="line-height:3px;".

However, if the last line of text is set like this, only half of the text will appear. As shown in Figure 1 below. The solution to

is as follows: add an empty

below the last line of text, as shown in Figure 2.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn