Box taglib ver. 1.3

    Custom JSP taglib. Body tag box is used to draw a box border around the body. For example:
 


<%@ taglib uri="taglib.tld" prefix="t" %>

<t:box padding="5">
 this content will be wrapped
</t:box>

and you will get some like this:

this content will be wrapped

Tags are:

box

Body tag lets you draw a border around the body. Parameters are:

1) width Optional parameter. Describes a width for the box
2) height Optional parameter. Describes a height for the box
3) style Optional parameter. Describes a CSS style
4) className Optional parameter. Describes a class for CSS
5) borderWidth Optional parameter. Describes a width for the border. Default value is 1.
6) borderColor Optional parameter. Describes a color for the border. Default value is black
7) bgcolor Optional parameter. Describes a color for the background.
8) padding Optional parameter. Describes a margin for the content.
9) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true.

for downloading:

Library: boxtag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: