Export (0) Print
Expand All
top
Expand Minimize
This topic has not yet been rated - Rate this topic

listStylePosition property

Sets or retrieves a variable that indicates how the list-item marker is drawn relative to the content of the object.

CSS 2.1, Section 5.6.5

Syntax

Integer value = object.put_listStylePosition( v);Integer value = object.get_listStylePosition(* 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 ToAll elements
Mediavisual
Inherited1
Initial Value

Standards information

Remarks

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

If the left margin of a list item is set to 0 using one of the IHTMLCSSStyleDeclaration::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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.