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.
- Returns S_OK if successful, or an error value otherwise.
- 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
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.
- Returns S_OK if successful, or an error value otherwise.
- 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
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.