RE: CSS paths in templates

"KUBIAK Richard" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>
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?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.