O'Reilly logo

Real World XML by Steven Holzner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

List Properties

CSS also includes a number of styles that you use with lists. Although Internet Explorer indicates that it supports many of them, I've found the support to be spotty. To use these styles, you should set the display property to list-item.

list-style

  • CSS1 values: [<list-style-type>||<list-style-position>||<list-style-image>]

  • CSS2 values: inherit

  • Default value: Not defined

  • Element support: List items

  • Browser support: [IE4, IE5, IE6]

  • Style inherited: Yes

This shorthand property sets the values of the list-style-type, list-style-position, and list-style-image properties all at the same time and in the specified order.

list-style-image

  • CSS1 values: <uri>| none

  • CSS2 values: inherit

  • Default value: None

  • Element support: List items

  • Browser support: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required