li cannot be displayed horizontally_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:21:38
Original
854 people have browsed it

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

  • 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