cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Vaterlaus <mvaterl...@gmail.com>
Subject Re: css file wih images
Date Wed, 24 Nov 2004 09:23:43 GMT
Hello,

I suppose the problem is related to the fact, that you use relative
URLs. By using those in CSS or a XSLT ( e.q. <xsl:include
href="path/name"/>) keep in mind, that matchers in cocoon's sitemap
are not involved.

Markus


On Tue, 23 Nov 2004 15:22:43 +0800, pguillard <pguillard@soociety.com> wrote:
> Hi,
> 
> I have a css stylesheet that contains images.  I don't see them on my
> HTML pages. When i put the css style directly in my  XSL stylesheet in
> the html header they are rendered correctly, that means my entries for
> css and gif in sitemap are ok. Any idea ?
> 
> Regards
> Phil
> --------------
> in main.css:
> div#foo
>     {
>     background: transparent url("imgcss/foo.gif") repeat-x bottom left;
>     height: 26px;
>     margin-bottom: 10px;
>     }
> 
> In sitemap:
>     <map:match pattern="css/*.css">
>          <map:read mime-type="text/css" src="{1}.css"/>
>        </map:match>
> 
>     <map:match pattern="imgcss/*.gif">
>         <map:read mime-type="image/gif" src="{1}.gif"/>
>     </map:match>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message