Source of sample.php
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html><head><title>Finediv Sample</title>
<?php
require 'class_finediv.php';
$fd_normal = new finediv( 'css' ); // You need a folder named "css" along with liquidcorners.inc in it
$fd_normal->borderwidth = 3;
$fd_normal->install();
?>
</head><body>
<h1>A finediv sample</h1>
<?php
$fd_normal->puttop();
?>
Finediv is a PHP solution to show boxes with rounded corners using css and only one image.
<?php
$fd_normal->putbottom();
?>
<div style="width:50%; margin: 1em auto">
<?PHP
$fd_normal->put('', 'To put a rounded box to a certain place or to size it,
just wrap it into another div', 'There are three places to put some text into a finediv box: top, middle and bottom');
?>
</div>
<?php
for( $i = 1; $i < 9; $i++ )
{
echo '<div style="width:10em;float:left; margin:1em">'.
$fd_normal->get( 'Text for Top', 'Text for middle: box #'.$i.' of 8', 'Text for bottom' ).
'</div>';
}
?>
</body></html>