cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Holt <m...@zenserve.com>
Subject Re: Cocoon and CSS
Date Thu, 30 Jun 2005 11:58:09 GMT
Gerald, Pierre - thank you!

I'm actually a little embarrassed that the solution should be
something so simple! Actually, I won't be too hard on myself - I'm new
to Cocoon and thought every path was relative to the sitemap. 

Thanks again,

Mike



---- Original message ----
>Date: Thu, 30 Jun 2005 13:19:20 +0200
>From: Gerald Aichholzer <gary@sbox.tugraz.at>  
>Subject: Re: Cocoon and CSS  
>To: users@cocoon.apache.org
>
>Hi,
>
>Mike Holt wrote:
>> 
>> I'm having difficulty getting Cocoon 2.1 running on Tomcat 5 to
>> recognize and process a path in my CSS file:
>> 
>> list-style-image: url(images/bullet.gif);
>>
>
>AFAIU the CCS specification says thath the above path is
>relative to the stylesheet location (not the location of
>the resulting HTML file).
>
>If your (X)HTML contains e.g. the following:
>
>   <link type="text/css" rel="stylesheet" href="css/default.css"/>
>
>then your sitemap will need a matcher for
>
>   - the (X)HTML file
>   - the CSS (which path is relative to the (X)HTML file)
>   - the image used in url (which path is relative to the CSS path)
>
>The following wiki entry might be useful, too:
>
>http://wiki.apache.org/cocoon/ServingStaticFiles
>
>HTH,
>Gerald
>
>---------------------------------------------------------------------
>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