INPUT /  OUTPUT /  LANGUAGE





box tag

Presentation container tag

Displays its contents in a rectangle.

Sample usage

Fields

Primary field

Presentation container field

The content of the box: text, values and other presentation tags.

Secondary fields

Behaviour

A box keeps its contents together in a rectangle. By default it sits in the flow of surrounding content like a single large character (inline=true) and grows to fit its contents. Giving it a width and height fixes its size; content that doesn't fit is hidden unless scroll=true.

With inline=false, the box is taken out of the flow and positioned against the edges of its container with top, left, right and bottom.

Notes

margin is the space inside the border, and spacing the space outside it. (In web design, these are called padding and margin.)

See also