Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How to implement CSS in perl script.

by tcf03 (Deacon)
on Nov 30, 2007 at 13:32 UTC ( [id://654100] : note . print w/replies, xml ) Need Help??


in reply to How to implement CSS in perl script.

If you are using CGI:

print start_html(-style=>{'src'=>'http://my.server.com/style.css'} );
UPDATE From the looks of your code, you are not. So you could just do
print qq|<link href="http://my.server.com/style.css" rel="stylesheet" +type="text/css"></link>|;
Unless I am misunderstanding the question.
Ted
--
"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
  --Ralph Waldo Emerson