bordercaption (Domino DTD)

Represents the border of a frame in a frameset.

Containment Hierarchy

Contained by: <frame>

Contains: <code>, <font>

Syntax

<!ELEMENT bordercaption  ( code? , font? )>

Contents

code?,font?

Contains an optional code element (representing a formula for displaying caption text), followed by an optional font element that specifies the font of the caption text.

Attributes

<!ATTLIST bordercaption

show

%tokens;

""

align

(%edge.aligns;)

#IMPLIED

justify

(%simple.justifys;)

#IMPLIED

open

%pixpct;

#IMPLIED

bgcolor

%color;

#IMPLIED

>

align

Alignment of the text in the border. If the show attribute is set to arrows, this attribute must be set to the frame border closest to the other frames in the set. If the show attribute is set to caption, this attribute can be either top or bottom, but not right or left. Defaults to top.

bgcolor

Background color of the border. Defaults to system.

justify

Justification of text in a border with a text caption. If the show attribute is set to arrows, this attribute is ignored. Can be left, right, or center. Defaults to left.

open

Determines the size (in pixels or as a percentage of the frame) that a frame should open to when a user clicks on the border of a closed frame. This attribute is only valid if the show attribute is set to arrows. Defaults to 0 px.

show

Defines the type of border to display. See the %bordercaption.show.values; entity for a list of options.

Defined entities for <bordercaption> element

The %bordercaption.show.values; entity defines the style of a frame border.

Syntax:

<!ENTITY % bordercaption.show.values "caption | arrows ">

arrows

Fills the frame border with a single arrow that a user can click to open or close the frame.

caption

Displays a text caption in the frame border.

The %edge.aligns; entity defines the alignment options for a text caption or arrows in the border of a frame.

Syntax:

<!ENTITY % edge.aligns "left | right | top | bottom ">

bottom

Aligns the caption text or arrows along the trailing edge of the frame. If the show attribute is set to arrows, you can only specify this option if the trailing edge of the frame is closest to the other frames in the frameset.

left

Aligns the caption text or arrows along the left edge of the frame. If the show attribute is set to caption, this option is not available. If the show attribute is set to arrows, you can only specify this option if the right edge of the frame is closest to the other frames in the frameset.

right

Aligns the caption text or arrows along the right edge of the frame. If the show attribute is set to caption, this option is not available. If the show attribute is set to arrows, you can only specify this option if the right edge of the frame is closest to the other frames in the frameset.

top

Aligns the caption text or arrows along the leading edge of the frame. If the show attribute is set to arrows, you can only specify this option if the leading edge of the frame is closest to the other frames in the frameset.

The %simple.justifys; entity defines the text justification options for a text caption in the border of a frame.

Syntax:

<!ENTITY % simple.justifys "left | right | center ">

center

Centers the caption text in a frame border. If the show attribute is set to arrows, this option is not available.

left

Left justifies the caption text in a frame border. If the show attribute is set to arrows, this option is not available.

right

Right justifies the caption text in a frame border. If the show attribute is set to arrows, this option is not available.