Home >Web Front-end >HTML Tutorial >Questions about text position in CSS_html/css_WEB-ITnose
In the div, how can I set each paragraph of text above to be evenly dispersed in it? Is it really only possible to " " one by one?
The number of text inside is variable and not proportional to the entire width, so there is no way to achieve absolute uniformity
The general approach is to set the overall center display. As for the gap between each bar, you can adjust it yourself. For example, add a span to distinguish the style, give some padding or something
If the whole is centered, you can Set text-align:center;
The number of text inside is variable and not proportional to the entire width, so there is no way to achieve absolute uniformity
The general approach is to set the overall centered display. As for The gap between each line can be adjusted by yourself, such as adding a span to distinguish the style, and giving some padding or something like
If you want to center the whole, you can set text-align:center;
Well, this is better OK~