I think you have to reference your css as follows :

<link href="<content:contextURL/>/myown.css" rel="stylesheet" type="text/css"/>

-----Message d'origine-----
De : Daryl Gerlach [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 28 novembre 2006 23:11
À : [email protected]
Objet : CSS paths in templates

I'm working on a new Jahia 5 template and having difficulties 
referencing my cascading style sheet. The engine is unable to find the 
CSS file (404 error) using the following html in my template:
<link href="myown.css" rel="stylesheet" type="text/css"/>

The CSS is located in the same folder as the template. What is the 
recommended procedure for accessing CSS from templates? Is there any 
standard location for CSS files or is that totally up to me?


Reply via email to