Export (0) Print
Expand All

listStyleImage property

Sets or retrieves a value that indicates which image to use as a list-item marker for the object.

CSS 2.1, Section 5.6.4Internet Explorer 9

 

Syntax

Integer value = object.put_listStyleImage( v);Integer value = object.get_listStyleImage(* sLocation);

Property values

Type: BSTR

none (none)

Default. No image is specified.

url(sURL) (url(sURL))

Location of the image, where sURL is an absolute or relative URL.

String format

url(sURL) | none

CSS information

Applies ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

Remarks

The IHTMLRuleStyle::listStyleImage property can be applied to any element when IHTMLRuleStyle::margin and IHTMLRuleStyle::display:list-item are applied. The IHTMLRuleStyle::display: list-item property is available starting with Microsoft Internet Explorer 6.

When the image is available, it replaces the marker that is set with the IHTMLRuleStyle::listStyleType marker.

If the left margin of the list item is set to 0 using one of the IHTMLRuleStyle::margin properties, the list-item markers do not show. The margin should be set to a minimum of 30 points.

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