Re:how to include a specific CSS file into my portlet?

"ghislain\.cussonneau" <[email protected]>
Newsgroups gmane.comp.cms.jahia.template
Message-ID <[email protected]>




 > Hi,
> 
> I would like to include a CSS dynamique file, as for the default Jahia
> template it's a JSP file including a CSS definition using dynamique
> parameters...
> 
> As I'm testing my portlet I would like to make a test and incude it into the
> body because the header is cutting for a portlet... Later i will use
> attributes to propose my web template to include it into the header...
> 
> This is my later test:
> --------------------------------------------------------------------
> (...)
> 
> 
> " type="text/css">
> (...)
> --------------------------------------------------------------------

It's better to insert your CSS between <head></head> tags.
The order of definition are very important. If your webapp CSS contains some definitions with a name already used in the standard web_css.jsp your new definitions needs to be in this order :

standard web_css.jsp
your webapp CSS

> 
> But it doesn't work... I tryed to include the content directly into 

Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
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.