Home  >  Article  >  Web Front-end  >  li cannot be displayed horizontally_html/css_WEB-ITnose

li cannot be displayed horizontally_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:21:38855browse

CSS





  • < p>




Set display:inline for li in css,
and then retrieve multiple database information. If there is no following Two p's can be displayed horizontally, but with two p's, only one li can be displayed per line.

Reply to discussion (solution)

  • The horizontal style is float:left
    not display:inline

  • 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