in reply to cgi and css, body tag not recognize
2. Are you sure the href to the css is correct?
This works:
test.pl:
test.css is your css.#!/usr/bin/perl -w use strict; my $q =CGI->new; print $q -> start_html(-title => "bla", -style => { -src => 'test.css' +, -type => 'text/css', -media => 'screen' });
$ perl -MCGI test.pl >test.html Open test.html in firefox.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cgi and css, body tag not recognize
by yvan (Novice) on Jun 14, 2007 at 20:14 UTC | |
by Joost (Canon) on Jun 14, 2007 at 20:24 UTC | |
by yvan (Novice) on Jun 14, 2007 at 21:19 UTC | |
by almut (Canon) on Jun 14, 2007 at 21:36 UTC | |
by yvan (Novice) on Jun 14, 2007 at 20:54 UTC | |
by Joost (Canon) on Jun 14, 2007 at 21:14 UTC | |
by ww (Archbishop) on Jun 14, 2007 at 21:35 UTC |