in reply to using a CSS style sheet in CGI

Look for "css" in the CGI docs (note the 'LIMITED SUPPORT FOR CASCADING STYLE SHEETS' section in the table of contents).. You can tell start_html to have an include for an external css file and/or directly include some css code:
start_html( -title=>"Foo", -style=>{src=>'foo.css', -code=>"body {background-colo +r: #000000}" }, ),

Replies are listed 'Best First'.
Re^2: using a CSS style sheet in CGI
by CountZero (Bishop) on Jun 17, 2006 at 22:29 UTC
    Without printing start_html ...
    The output of the CGI-script will be included somewhere on the page and the web-server will take care of the headers.

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law