Contents Index Topic Contents | ||
Previous Topic: IHTMLStyle::get_posWidth Next Topic: IHTMLStyle::get_textAlign |
IHTMLStyle::get_styleFloat
HRESULT get_styleFloat( BSTR *p );Retrieves the value of the CSS float 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:
left right none - See height for details. This parameter receives NULL if the attribute is not set.
See also put_styleFloat
IHTMLStyle::put_styleFloat
HRESULT put_styleFloat( BSTR v );Sets the value of the CSS float attribute for the element. The attribute determines whether the element floats, causing text to flow around it.
- Returns S_OK if successful, or an error value otherwise.
- v
- String specifying the value of the attribute. Can be one of these strings:
left right none - See float for details. Set this parameter to NULL to remove the attribute.
See also get_styleFloat
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.