Fog Creek Software
Discussion Board

Knowledge Base
Terry's Tips
Darren's Tips

How to generate full image path in CSS file?

I want to use the CSS file for other pages that were not generated with CityDesk. This CSS file contains some image's magic names. When publishing, the path to these images is relative, which makes it not work within other pages outside of the citydesk layout.

How can I make citydesk render my CSS file with absolute paths ?


Saturday, November 01, 2003

Have your tried {$ withAbsoluteLinks "url" $} in your .css file?

Saturday, November 01, 2003

Yes, I tried it. But it seems that command only works within a link context, e.g., the url needs to be part of the a tag or inside it.

Monday, November 03, 2003

*  Recent Topics

*  Fog Creek Home