The <HR> Element The <HR> element displays a horizontal line, or rule, in a web page, visually separating page elements. This object has a few properties beyond the core set, and you can see them in Table 11.6. Table 11.6. The Properties of the <HR> Element (See Chapters 5 and 6 for the JavaScript core HTML properties, methods , and events that also apply to this element.) | Property | NS2 | NS3 | NS4 | NS6 | IE3a | IE3b | IE4 | IE5 | IE5.5 | IE6 | | align | | | | x | | | x | x | x | x | | | Read/write | | | This property sets or gets the alignment of the rule. Set to "center" (aligns to the center), "justify" (aligns to the left and right edge), "left" (the defaultaligns to the left edge), or "right" (aligns to the right edge). | | color | | | | x | | | x | x | x | x | | | Read/write | | | Specifies the color of the rule, as a string. Set to a color triplet or a predefined color name the browser understands. In Internet Explorer 5+, you also can set this property to an expression using setExpression . | | noShade | | | | x | | | x | x | x | x | | | Read/write | | | This property sets or gets a value indicating whether the rule is drawn with 3D shading. Set to true for no 3D shading or false (the default) for 3D shading. | | size | | | | x | | | x | x | x | x | | | Read/write | | | This property sets the height of the rule, in pixels. Set to an integer value. | | width | | | | x | | | x | x | x | x | | | Read/write | | | This property sets the width of the rule. Set to an integer to specify a width in pixels, or to a string ending with a percent sign (%) to indicate a percentage of the rule's container (usually the browser's client area) width. | |