Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to implement CSS in perl script.

by tcf03 (Deacon)
on Nov 30, 2007 at 13:32 UTC ( #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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://654100]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2022-05-29 07:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?