You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jeroen Reijn <j....@hippo.nl> on 2005/07/04 10:30:33 UTC

RE: Cocoon and CSS

Mike,

what seems to be the problem is the relative path in your css file.
What you could do is adding a '/' in front like:

list-style-image: url('/images/bullet.gif');

This will always match your main sitemap matcher "images/**".

Hope this will get you started.

Greetz,

Jeroen

-----Original Message-----
From: Mike Holt [mailto:mike@zenserve.com]
Posted At: Thursday, June 30, 2005 12:43 PM
Posted To: Cocoon User List
Conversation: Cocoon and CSS 
Subject: Cocoon and CSS 


Greetings all,

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);

I've tried a number of different ways of managing the CSS information:
at the moment it's contained within its own XSL stylesheet and
processed by a TextSerializer - this allows me to imbed XSL tags, but
apparently has no effect on the way the inline image path is processed.

Incidentally, the CSS class containing the bullet is processed
correctly if the entry is embedded within the page XSL. I'd prefer not
to do this.

This is my first post to this list, so apologies if this question has
already been answered. I searched the archive and couldn't find anything.

Best regards,

Mike Holt

---------------------------------------------------------------------
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