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

WBOY
Release: 2016-05-16 16:43:59
Original
1784 people have browsed it

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.
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template