list-stylelist-style*
*Contents  *Index  *Topic Contents
*Previous Topic: link
*Next Topic: list-style-image

list-style

Description

Sets three properties (list-style-type, list-style-image, and list-style-position) at once.

Syntax

{ list-style: keyword || position || url}

Remarks

A URL can be combined with a list-style-type; if available, the image will replace the marker type.

This attribute is inherited.

Example

In the following example, the "disc" image will be used if the image cannot be found.

UL {list-style: url(http://some_image.gif) disc} 

Applies To

LI, OL, UL

Scripting Property

listStyle


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.