horizrule (Domino DTD)

Represents a horizontal rule, which is vertical line in rich text. By default, a rule line is .073" thick and helps to visually separate different areas of a form or page.

Containment Hierarchy

Contained by: %richtext.nonhot.inline;

Syntax

<!ELEMENT horizrule EMPTY>

Attributes

<!ATTLIST horizrule

height

%length;

#IMPLIED

width

%lenpct;

#IMPLIED

color

%color;

#IMPLIED

colorstyle

(%horizrule.color.styles;)

"solid"

gradientcolor

%color;

#IMPLIED

use3dshading

%boolean;

"true"

(%html.core.attrs;)

>

These options indicate the following display settings for the horizontal rule:

color

Fill color.

colorstyle

Style of the fill color. See the %horizrule.color.styles; entity for details of the options.

gradientcolor

Secondary color, if the colorstyle attribute equals vgradient.

height

Height (in inches).

use3dshading

Three-dimensional shading.

width

Width. This value can be a fixed width or a percentage of the window width.

Defined entity for <horizrule> element

The %horizrule.color.styles; entity lists the options for color styles for a horizontal rule.

Syntax:

<!ENTITY % horizrule.color.styles "solid | vgradient ">

solid

Horizontal rule is filled with a single color.

vgradient

Horizontal rule is filled with two colors. Each color displays at full strength at either end of the rule line. The colors weaken as they spread toward the center of the rule, where they meet and blend together, creating a vertical gradient effect.