Name

SIZE — NN all IE all HTML 3.2

Synopsis

SIZE=”pixelCount"

Optional

You can override the default thickness of the HR element by assigning a value to the SIZE attribute. The SIZE attribute is deprecated in HTML 4.0 in favor of the height: style sheet attribute. You can use this style rule in Internet Explorer 4, but not in Navigator 4.

Example

<HR SIZE=4>

Value

Any positive integer. A setting of zero still draws a one-pixel thick rule.

Default

2

Object Model Reference

IE

[window.]document.all.elementID.size

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.