Home >Web Front-end >HTML Tutorial >How to make spans parallel and the set width valid_html/css_WEB-ITnose

How to make spans parallel and the set width valid_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:59:521337browse


How? This allows the two displayed contents to be on the same line and will not wrap when the span content is too long.


Reply to discussion (solution)

Can anyone help solve the problem?

display:inline-block

display:inline-block


Please ask again if the format is like this.


  • ……






    Is there a way to move the text in span to the ul below when one line of text is not enough to display? Thank you
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