cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pguillard <pguill...@soociety.com>
Subject Re: css file wih images
Date Thu, 25 Nov 2004 15:32:54 GMT
Hum i get it with url("../foo.gif") and find the foo.gif in the actual 
folder, not the parent.
Phil


pguillard wrote:

> Thanks for the informations,
> unfortunately, i've put the file everywhere and tested relative paths 
> and absolute : no way for me to get a .gif from css file... :-(
>
> Tested
> url("imgcss/foo.gif")
> url(imgcss/foo.gif)
> url("./imgcss/foo.gif")
> url(./imgcss/foo.gif)
> url(http://...../imgcss/foo.gif)
> url("http://...../imgcss/foo.gif")
> I understand the sitemap is not concerned so no idea..
>
> Phil
>
> Ugo Cei wrote:
>
>> Il giorno 23/nov/04, alle 08:22, pguillard ha scritto:
>>
>>> 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 ?
>>
>>
>>
>> When you put relative URLs in your CSS files, they are interpreted as 
>> relative to the location of the CSS file itself. When you wite CSS 
>> code inline, relative URLs are interpreted as relative to the 
>> location of the containing HTML file.
>>
>>     Ugo
>>
>
>
> ---------------------------------------------------------------------
> 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