IHTMLStyle::get_listStylePositionIHTMLStyle::get_listStylePosition*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_listStyleImage
*Next Topic: IHTMLStyle::get_listStyleType

IHTMLStyle::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
See list-style-position for details. The variable receives NULL if the attribute is not set.

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


IHTMLStyle::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
See list-style-position for details. Set this parameter to NULL to remove the attribute.

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.