[htmltmpl] issues using css
Brought to you by:
samtregar
From: Thomas N. <th...@te...> - 2005-05-06 07:02:56
|
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 |