Home >Web Front-end >HTML Tutorial >There is no space between line breaks in the article, what should I do? _html/css_WEB-ITnose
The default line breaks in web pages are spaced, but when we make web pages, main.css always requires the following settings : After setting it like this, there is no space between line breaks in the article. What should I do?
Setting line Under the high test
line-height:30px;
line-height:150%;
is to increase the line height to 1.5 times the font height
Do you want spacing or not?
What else does 'always need to make the following settings' mean? Is this setting what you need?
The style in main.css is to first define all elements as borderless, borderless, and spacing attributes. If you want to place a DIV on the current page To make it have line spacing, you need to set the line spacing of the specific DIV line-height:22px;
Then you can set the style of the article and cover the main.css.