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
Release: 2016-06-24 11:59:52
Original
1336 people have browsed it


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
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