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)



borderTop = ...

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