IHTMLRuleStyle::get_clearIHTMLRuleStyle::get_clear*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLRuleStyle::put_clear
*Next Topic: IHTMLRuleStyle::put_display

IHTMLRuleStyle::get_clear


HRESULT get_clear(
    BSTR *p 
);

Retrieves the value of the CSS clear attribute for the element.

p
Address of a variable that receives the value of the attribute, which can be one of these strings:
left
right
both
See clear for details. This parameter receives NULL if the attribute is not set.

See also put_clear

Up Top of Page


IHTMLRuleStyle::put_clear


HRESULT put_clear(
    BSTR v 
);

Sets the value of the CSS clear attribute for the element. The attribute determines whether the element allows floating elements (typically images) on its left and right sides. More specifically, the attribute specifies the sides where floating elements are not allowed.

v
String specifying the sides where floating elements may not appear. Can be one of these strings:
left
right
both
Set this parameter to NULL to remove the attribute. See clear for details.

See also get_clear


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