Im writting a CGI script and I would like to be able to use it on differant sites and have it fit their design (without having to rewrite it all the time).
hardburn is right. You should separate the html from the program. There are many ways available to do this.