Rounded Corner Boxes


As you can see from the general design on this website I like to get away from 'square' display boxes where I can.

To do this I use my old friends PHP and MySql to build the CSS files. This allows me to build as many rounded corner styles as I like, each with a different backgound colour.


As well as being able to set the backgound colour I can also set the radius (thickness) and colour of the surround; as in this case where the radius is 1 and the colour is black.

Another thing to note is that the width is automatically adjusted.

To use any rounded corner box all that is required is to include the content within a <div class="name"></div> where the class is set to the name of the rounded corner box.