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 Thu, 25 Nov 2004 15:41:15 GMT
Hi,

before you move this question to a more appropriate list, did you try
the simplest possibilty?

...
div
{
            background: url(http://www.yourdomain.com/imgcss/foo.gif);
}
...

Cheers

--mv


On Thu, 25 Nov 2004 23:17:25 +0800, pguillard <pguillard@soociety.com> 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