[Yanel-dev] path in css files

simon litwan simon.litwan at wyona.com
Fri Aug 17 15:17:29 CEST 2007


hi all

at the moment we are delivering css files as resource type file. this 
works fina as long as there are no file path in it.
but if one starts to use e.g background: url(../img/layout/bg.gif); 
there is a path problem.

maybe we should invent a css resource which is replacing some 
placeholders with backToRealm etc.

one could write the css like that:
background: url(${backToRealm}/img/layout/bg.gif);

wheras ${backToRealm} would be dynamicly replaced by the css resource-type.

WDOT?

simon


-- 
Simon Litwan                               simon.litwan at wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org


More information about the Yanel-development mailing list