You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David Merrilees <da...@fenc.org.uk> on 2004/11/25 16:43:51 UTC

RE: css file wih images - Bayesian Filter detected spam

Try using single quotes in your references.

Is the css being imported correctly? Check your browser cache.

Could it be your browser understands image references in css as relative
to the css file rather than the position of the html file?

-----Original Message-----
From: pguillard [mailto:pguillard@soociety.com] 
Sent: 25 November 2004 15:17
To: users@cocoon.apache.org
Subject: Re: css file wih images - Bayesian Filter detected spam

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