in reply to Re: What did i do to CGI.pm?
in thread What did i do to CGI.pm?
Produces:use CGI; my $q = CGI->new; print $q->start_html( -title => "Some Title", -style => { src => '../style.css', type => 'text/css' } );
I believe you were looking for how to include a proper CSS link? That should do it. I'm using CGI.pm version 2.74.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"><head><title>S +ome Title</title> <link rel="stylesheet" type="text/css" href="../style.css"> </head><body>
Gosh, I love CGI.pm :)
Cheers,
Ovid
Join the Perlmonks Setiathome Group or just click on the the link and check out our stats.
|
|---|