INPUT /  OUTPUT /  LANGUAGE





spacing fields

Vector field

Set the space between a tag's border and the content around it.

Applies to...

Sample usage

Behaviour

spacing sets all four sides. spacingTop, spacingRight, spacingBottom and spacingLeft set one side each. Each takes a distance (see width for units).

Getting the value of a side field, such as <putLn b.spacingTop>, generates that side's spacing in pixels. Getting spacing generates the spacing in pixels if all four sides are the same, or nothing if they differ.

Notes

ioL's spacing is the space outside the border, which web design calls margin. For space inside the border, use margin.

See also