Export (0) Print
Expand All
top
Expand Minimize

listStyle property

Sets or retrieves up to three separate IHTMLCSSStyleDeclaration::listStyle properties of the object.

CSS 2.1, Section 5.6.6Internet Explorer 9

 

Syntax

Integer value = object.put_listStyle( v);Integer value = object.get_listStyle(* 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 IHTMLCSSStyleDeclaration::listStyleType property.

position (outside)

Any of the range of position values available to the IHTMLCSSStyleDeclaration::listStylePosition property.

image (none)

Any of the range of image values available to the IHTMLCSSStyleDeclaration::listStyleImage property.

String format

[ type || position || image ]

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

Remarks

The IHTMLCSSStyleDeclaration::listStyle 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 IHTMLCSSStyleDeclaration::listStyle property also applies to all elements on which the IHTMLCSSStyleDeclaration::display property is set to list-item. To make the bullet points appear, you must explicitly set the IHTMLCSSStyleDeclaration::margin property or set the IHTMLCSSStyleDeclaration::listStylePosition property to inside on these elements.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft