IHTMLStyle::get_clearIHTMLStyle::get_clear*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLStyle::get_borderWidth
*Next Topic: IHTMLStyle::get_clip

IHTMLStyle::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


IHTMLStyle::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 cannot appear. Can be one of these strings:
left
right
both
See clear for details. Set this parameter to NULL to remove the attribute.

See also get_clear


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