By default, the width settings of label and span are invalid. Generally, the display attribute
display:block;
That’s it. But it will automatically add a line break. If you don’t want a line break, you can use
display:inline-block;
This way there will be no line breaks. .
To add how to draw '口口', you should use
display:inline;
float:left;
But be sure to add
clear:both;
Otherwise it will affect the div layout behind it It will be messy.
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