listStyleImage property
[This documentation is preliminary and is subject to change.]
Sets or retrieves a value that indicates which image to use as a list-item marker for the object.
![]() |
Syntax
Integer value = object.put_listStyleImage(BSTR v);Integer value = object.get_listStyleImage(BSTR* 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 To | All elements |
|---|---|
| Media | visual |
| Inherited | 1 |
| Initial Value |
Standards information
- CSS 2.1, Section 5.6.4
Remarks
The list-style-image property can be applied to any element when margin and display:list-item are applied.
When the image is available, it replaces the marker that is set with the list-style-type marker.
If the left margin of the list item is set to 0 using one of the 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 |
|---|---|
|
Minimum supported server | Windows Server 2003 |
|
Header |
|
|
DLL |
|
Build date: 1/23/2012
