This collection of fields specifies the width of border to be displayed around an object that is visible on the screen.
The border field applies the same border width around all sides of the object, while the borderTop, borderRight, borderBottom and borderLeft fields provide a way to specify a different border width for individual sides of the object.
The border fields can be defined for the following tags.
box, button, checkBox, choiceBox, clientFrame, ellipse, img, input, line, span, table, tabRow, video.
For the line tag, only the border field applies. This specifies the line thickness.
The border field defines the width of the border on all four sides of a presentation tag displayed on the screen. The other fields, borderTop, borderRight, borderBottom and borderLeft, specify the border width on one side only.
A border width specified by one field may be overridden by another, depending on the sequence in which the fields are specified. For example, specifying border=5 borderLeft=10
applies a 5 pixel border on all sides, except the left side which is set to a 10 pixel border width immediately after. However specifying these fields in the reverse order, borderLeft=10 border=5
, leaves the element with a border width of 5 pixels on all four sides, since the effect of setting the borderLeft field is immediately overridden by the effect of setting the border
field which affects all four sides at once.