8. CSS List Style

Source: Internet
Author: User

CSS List properties function as follows:

    • To set a different list item to mark as an ordered list
    • To set a different list item to mark as unordered list
    • Set list items to be marked as images

List-style-type

Specifies the style of the item marker symbol for the unordered list and the ordered list

Value:

Disc: Solid Circle (CSS1)
Circle: Hollow Circle (CSS1)
Square: Solid block (CSS1)
Decimal: Arabic numerals (CSS1)
Lower-roman: Lowercase roman numerals (CSS1)
Upper-roman: Uppercase Roman Numerals (CSS1)
Lower-alpha: lowercase English alphabet (CSS1)
Upper-alpha: Uppercase English alphabet (CSS1)
None: Do not use bullets (CSS1)
Armenian: The traditional Armenian numerals (CSS2)
Cjk-ideographic: Plain ideographic numerals (CSS2)
Georgian: The traditional George Number (CSS2)
Lower-greek: Basic Greek Small Letter (CSS2)
Hebrew: The traditional Hebrew numerals (CSS2)
Hiragana: Japanese Hiragana characters (CSS2)
Hiragana-iroha: Japanese hiragana serial number (CSS2)
Katakana: Japanese Katakana characters (CSS2)
Katakana-iroha: Japanese Katakana Sequence Number (CSS2)
Lower-latin: lowercase latin alphabet (CSS2)
Upper-latin: Uppercase Latin alphabet (CSS2)

List-style-image

Set the list item marker symbol to a picture

Value:

List-style-image:none do not specify an image

List-style-image:url (file path) use absolute or relative address to specify the list item tag image

List-style-position

Value:

List-style-position:outside list item markers are placed outside the text, and wrapping text is not aligned with the tag

List-style-position:inside list item markers are placed within text, and wrapping text is aligned according to the tag

8. CSS List Style

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.