Li does not show the use of Overflow:hidden causes Li to not see the style in front of dots, loops, etc.

Source: Internet
Author: User
Tags lowercase

Comments: With the Overflow:hidden will affect the List-style, that is, when the UL Li overflow for hidden, List-style does not work, do not show the front of the dots, loops and other styles, In the UL or Li Add Style: list-style-position:inside; Can

In fact, the use of Overflow:hidden will affect the List-style, that is, when the UL Li overflow for hidden, List-style does not work, do not show the front of the dots, loops and other styles.

Solution: In the UL or Li Add Style: list-style-position:inside; Can. Note that proper adjustment of padding position is the most suitable.

The style of the list:

Disc:css1 Solid Circle

Circle:css1 Hollow Circle

Square:css1 Solid Square

Decimal:css1 Arabic numerals

Lower-roman:css1 Lowercase Roman Numerals

Upper-roman:css1 Capital Roman Numerals

Lower-alpha:css1 lowercase English Letter

Upper-alpha:css1 Capital English alphabet

NONE:CSS1 does not use bullets

Armenian:css2 the traditional Armenian numbers

Cjk-ideographic:css2 the plain ideographic figure

Georgian:css2 the traditional George number

Greek lowercase letters based on LOWER-GREEK:CSS2

Hebrew:css2 the traditional Hebrew numbers

Hiragana:css2 Japanese plain Kana character

Hiragana-iroha:css2 Japanese Hiragana Order

Katakana:css2 Japanese piece Kana character

Katakana-iroha:css2 Japanese Katakana Number

Lower-latin:css2 Lowercase Latin alphabet

Upper-latin:css2 Capital Letter Latin

*list-style-image:url (images/disc.gif); Using image disc.gif instead of list items revealing

*list-style-position:outside | Inside

Outside: List item tags are placed outside the text and are not aligned around the text according to the mark

Inside: List item tags are placed within text and aligned around text based on marks

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.