[! use OF::HTML !][- $escmode = 0; -]
h1: Box Testing
[+
OF::HTML::box(
content => $content,
width => '400',
cellpadding => 4,
cellspacing => 2,
border => 1,
content => '
Box without title
',
title_color => '#ffffff',
title_bgcolor => '#cc0000',
title_type => 'inset',
);
+]
[+
OF::HTML::box(
content => $content,
width => '400',
border => 1,
content => '
Box with title
',
title => 'This is a Title',
title_style => 'color:#ffffff; font-weight:bold; text-align:center',
title_bgcolor => '#cc0000',
);
+]
[+
OF::HTML::box(
content => $content,
width => '400',
border => 1,
content => '
Box using styles
',
title => 'This is a Title',
title_style => 'color:#ffffff; font-weight:bold; text-align:center',
title_bgcolor => '#cc0000',
use_styles => 1,
);
+]
[+
OF::HTML::box(
content => $content,
width => '400',
border => 1,
content => '
Box with inset title
',
title => 'This is a Title',
title_style => 'color:#ffffff; font-weight:bold; text-align:center',
title_bgcolor => '#cc0000',
title_type => 'inset',
);
+]
[+
OF::HTML::box(
content => $content,
width => '400',
border => 0,
content => '
Borderless box
',
title => 'This is a Title',
title_style => 'color:#ffffff; font-weight:bold; text-align:center',
title_bgcolor => '#cc0000',
);
+]