YOU ARE VIEWING ARCHIVAL DOCUMENTATION FOR ioL VERSIONS 0.9x. Go to doc.iol.science for the latest version.
ioL

Programming manual (doc0.iol.science)



border-top = ...

This field specifies the border width of the top edge of the element only.

You can specify a different border width of each of the four sides of the element.

Specifying a distance value for this field

This field takes a distance value specified with either one or two value elements.

If the units are not specified, the distance is interpreted in pixels {px} by default.

Example

<box border-top = 5>         <! specifies 5 pixels as the value for the border-top property. !>
<box border-top = 5,{px}>    <! 5 pixels; explicitly stated !>
<box border-top = 20,{%}>    <! percentage units !>
<box border-top = 12,{pt}>   <! typesetting point units !>
<box border-top = 1.2,{em}>  <! multiple of current font size !>