listStylePosition property
[This documentation is preliminary and is subject to change.]
Sets or retrieves a variable that indicates how the list-item marker is drawn relative to the content of the object.
![]() |
Syntax
Integer value = object.put_listStylePosition(BSTR v);Integer value = object.get_listStylePosition(BSTR* sPosition);
Property values
Type: BSTR
outside (outside)
-
Default. Marker is placed outside the text, and any wrapping text is not aligned under the marker.
inside (inside)
-
Marker is placed inside the text, and any wrapping text is aligned under the marker.
String format
inside | outside
CSS information
| Applies To | All elements |
|---|---|
| Media | visual |
| Inherited | 1 |
| Initial Value |
Standards information
- CSS 2.1, Section 5.6.5
Remarks
The list-style-position property can be applied to any element when margin and display:list-item are applied.
If the left margin of a 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
