listStyle property

[This documentation is preliminary and is subject to change.]

Sets or retrieves up to three separate list-style properties of the object.

CSS 2.1, Section 5.6.6

Syntax

Integer value = object.put_listStyle(BSTR v);Integer value = object.get_listStyle(BSTR* sStyle);

Property values

Type: BSTR

up to three of the Possible Values, in any order.

type (disc)

Any of the range of type values available to the list-style-type property.

position (outside)

Any of the range of position values available to the list-style-position property.

image (none)

Any of the range of image values available to the list-style-image property.

String format

[ type || position || image ]

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

Remarks

The list-style property is a composite property. When specifying both the type and image values, the image value takes precedence, unless the image value is set to none or the image pointed to by the URL cannot display.

The list-style property also applies to all elements on which the display property is set to list-item. To make the bullet points appear, you must explicitly set the margin property or set the list-style-position property to inside on these elements.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

DLL

Mshtml.dll

 

 

Build date: 1/23/2012

Community Additions

Show: