View Single Post
Go4Expert Member
7Aug2006,20:40  
Rakish's Avatar
Hi all,

I am having a hard time linking a css file to a template when using the HTML::Template Module.

Here is what i have:

1) myserver/cgi-bin folder, which has all the .pl files.
2) myserver/html folder, which has the template, CSS and html files

the template files have extension .tmpl

If i call an external CSS file like below:

Quote:
<html>

<head>

<title>CssCreator-->HTML 4.01 Strict Template</title>

<meta http-equiv="content-type" content="text.tmpl;charset=utf-8" />

<meta name="generator" content="www.csscreator.com" />

<link rel="stylesheet" href="test.css" type="text/css" />
It doesnt work,

but if i embed the same CSS code in the:


Quote:
<head>

<style>
css code
</style>

</head>
then it works fine.

I have tried my best, and i dont want to give up on it.

Please help.

Thankyou so much.

Rakesh Gupta