Click to return to the Reusing Browser Technology home page    
IHTMLHeaderElement::get_a...     IHTMLHRElement::get_align...     Interfaces and Scripting ...    
Web Workshop  |  Reusing Browser Technology

IHTMLHRElement Interface


This interface draws a horizontal rule.

IHTMLHRElement Methods

get_align Retrieves the alignment of the object relative to the display or table.
get_color Retrieves the color to be used by the horizontal rule.
get_noShade Retrieves the value that indicates whether the horizontal rule is drawn with 3-D shading.
get_size Retrieves the height of the horizontal rule, in pixels.
get_width Retrieves the calculated width of the horizontal rule, in pixels.
put_align Sets the alignment of the object relative to the display or table.
put_color Sets the color to be used by the horizontal rule.
put_noShade Sets the value that indicates whether the horizontal rule is drawn with 3-D shading.
put_size Sets the height of the horizontal rule, in pixels.
put_width Sets the calculated width of the horizontal rule, in pixels.

Interface Information

Implementation System (Mshtml.dll)
Inherits from IDispatch
Header and IDL files Mshtml.h, Mshtml.idl
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

Remarks

The HR element is a block element.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.