Home  >  Article  >  Web Front-end  >  After setting the list-style-type:disc style in the

  • tag, why are the display effects different in IE11 and Firefox? How to make IE11 display like Firefox? _html/css_WEB-ITnose

  • After setting the list-style-type:disc style in the
  • tag, why are the display effects different in IE11 and Firefox? How to make IE11 display like Firefox? _html/css_WEB-ITnose
  • WBOY
    WBOYOriginal
    2016-06-24 12:06:141553browse

    There are the following html statements:



    Country Ranking List
                              

                                                                       
                                                                               ​ 
                                                                                                    li style="list-style-type:disc;">Germany
      -style-type:disc;">France
      disc;">UK
      🎜> After executing these statements, the display effect in Firefox browser is as follows:


      After executing these statements, the display effect in IE11 browser is as follows (the small dot in front of the country runs to the div outside, this is not what I want, I want it to look like the Firefox browser):


      Please ask: How to make the IE11 browser (win7 operating system) display like the Firefox browser That look?






      Reply to discussion (solution)

      Maybe you will consider the following implementation, but generally you will not use the default The style is used to achieve a certain effect. For example, the previous origin has compatibility issues. Generally, the background image is used to deal with it


      Thank you "Life is a rare chicken"

    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