in reply to Beautifying CGI.pm forms/tables

Use HTML::Template. It is a very good templating system. The following tutorials may be of some use to you

If you are building applications that has more than 8 - 10 pages you can investigate the option of CGI::Application and HTML::Template in tandem.

Pick up the tutorial from here.

-T