Hi All,
Im stuck with the problem is like, i am unable to include external css files in perlCGI.
Below is the code:
--------------------------------------
I have tried above 2 methods. But unable to include.
Thanks in advance.
Im stuck with the problem is like, i am unable to include external css files in perlCGI.
Below is the code:
Code:
#!/usr/bin/perl
use CGI qw(:standard);
use CGI::Carp qw(warningsToBrowser fatalsToBrowser);
use strict;
print header;
#first method
print '<link rel="stylesheet" type="text/css" href="/mycss/yes.css" />';
#second method
print start_html(-title=>'Zen and the Art of CSS',
-style => { -src => 'http://localhost/mycss/yes.css',
-type => 'text/css',
-media => 'screen' },
);
print end_html;
--------------------------------------
I have tried above 2 methods. But unable to include.
Thanks in advance.
Comment