YOU ARE VIEWING DOCUMENTATION FOR ioL v.1. Click here for documentation for older v.0.9x versions of ioL.
ioL

Programming manual (doc.iol.science)



align = ...

Specifies both horizontal and vertical alignment for a markup element.

Applies to...

span, box, and other related markup tags

For a box tag, alignment applies to the contents of the box. For other tags, alignment may apply to the element itself, depending on the specific element. Most non-box elements do not support vertical alignment. For these, only horizontal alignment should be specified.

Usage

This field takes one or more text values as follows:

align={horizontal value}, {vertical value}
...or...
align={horizontal value}

For horizontal value, the following values are valid:

horizontal value interpretation
null Leaves the horizontal alignment unspecified.
{left} Content aligned against left margin, and ragged on the right.
{right} Content aligned against right margin, and ragged on the left.
{center} Content is centred; text is ragged on both sides.
{justify} Text is aligned on both sides.

For vertical value, the following values are valid:

vertical value interpretation
null Leaves the vertical alignment unspecified.
{top} Content aligned to the top. This may be relative to the container or relative to surrounding elements; the meaning depends on the tag it is applied to.
{middle} Content aligned to a common vertical centre. (The same caveat as for {top} applies.)
{bottom} Content is aligned to the bottom. (The same caveat as for {top} applies.)