Grow your CSS skills. Land your dream job.

Difference between list-style and list-style-type ?

  • # January 6, 2009 at 7:26 am

    What is the difference between list-style and list-style-type ?

    # January 6, 2009 at 1:13 pm

    List-style is simply the shorthand version for styling your list. List style type specifically refers to the indicator to the left such as the ever popular none, or disc, decimal, etc.

    So, you could say list-style: is to margin: as list-style-type: is to margin-right:

    The options for list-style: are position, image and type.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".