Home > Web Front-end > HTML Tutorial > Novice asking for help 'After adding the
  • tag, the left spacing of the text is much larger'_html/css_WEB-ITnose
  • Novice asking for help 'After adding the
  • tag, the left spacing of the text is much larger'_html/css_WEB-ITnose
  • WBOY
    Release: 2016-06-24 12:08:42
    Original
    1700 people have browsed it

    td {
    padding:15px 20px 15px 0px;

    }
    ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



                                                                 li> li>Receive holiday gifts
                                                                                                                    Will the gap be much larger? Does this have any tune?




      Reply to discussion (solution)

      Do ul and li have default values?
      Add

      Add li and ul to the css definition

      ul, li{padding:0; margin:0;}

      *{margin:0;padding:0;}
      Copy after login
      Maybe add a

      list-style :none;

      Try...?

      ul,li{

      margin-left:0px;

      padding-left:0px;
        }

      Add a style to li ul

      ul li{ list-type:none; margin:0; padding:0;}

    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