IHTMLRuleStyle::get_listStylePositionIHTMLRuleStyle::get_listStylePosition*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_listStylePosition
*Next Topic: IHTMLRuleStyle::put_listStyleImage

IHTMLRuleStyle::get_listStylePosition


HRESULT get_listStylePosition(
    BSTR *p
);

Retrieves the value of the CSS list-style-position attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
inside
outside
The variable receives NULL if the attribute is not set. See list-style-position for details.

The list-style-position attribute is applicable only on elements that have the display attribute set to "list-item".

See also put_listStylePosition

Up Top of Page


IHTMLRuleStyle::put_listStylePosition


HRESULT put_listStylePosition(
    BSTR v 
);

Sets the value of the CSS list-style-position attribute for the element. The attribute determines how the list-item marker is drawn with regard to the content.

v
String specifying the value of the attribute. Can be one of these strings:
inside
outside
Set this parameter to NULL to remove the attribute. See list-style-position for details.

The list-style-position attribute is applicable only on elements that have the display attribute set to "list-item".

See also get_listStylePosition


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.