issues using css
Thomas Nyman <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
Hi
I have a perl script that outputs to a tmpl .. so far so fine. When I
try to manage the layout of the tmpl with css stylesheets it doesnt
quite work.
the relevant parts of my perl script is
my $template = HTML::Template->new(filename => 'intro_css.tmpl');
$template->param(DAG => $dag);
$template->param(DATUM => $datum);
$template->param(TID => $tid);
print "Content-type: text/html\n\n";
print $template->output();
and my template starts with
<head>
<title>This page</title>
<style type="text/css" media="screen">@import
"/Library/webserver/documents/test/latest.css";</style>
</head>
All of this works fine on its own, but not in conjunction with
html::template.
I guess I'm probably missing something easy. What I am trying to do is
apply the so called "3 columns, the holy grail" to my templates, see
http://www.glish.com/css/7.asp
Anyway..I would really appreciate som help/pointers here
Thanks
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20