in reply to html css how to use with cgi perl

As Anonymous Monk already pointed out, the answers are all in Html Template CSS and CGI PERL

I would like to comment on your template though, for you have quite a few errors in there (small as it is):

<html> <head> <center><h2>Registration Form</h2></center> <title> Registration</title> <body> <p>my text goes here. </body> </html>

First of all, please, oh please remember to close your tags. head and p aren't, providing you with your next problem, the <center><h2>Registration Form</h2></center> within your head block.

Secondly, if you want to use CSS, you might aswell get rid of the <center> tags... (h2 { text-align: center; })

Rewritten template:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <link rel="stylesheet" type="text/css" href="/path/to/your.css" /> <title>Registration</title> </head> <body> <h2>Registration Form</h2> <p>my text goes here.</p> </body> </html>
--
b10m

All code is usually tested, but rarely trusted.