[Zope3-Users] CSS path

Mikhail Kashkin m at keysolutions.ru
Sat Oct 21 16:49:49 EDT 2006


Hello,

I'm using images in CSS, this mean that I need to use paths in style declarations,
for example::

  body {
    margin: 0pt;
    background: rgb(37, 54, 76) url('background_pattern.png') repeat scroll
    center top;
  }

I'm adding images and css file as resources (browser:resource).

This css file is used in skin layer. That mean that URL should be something like::

  /++skin++SkinName/@@/images/background_pattern.png

Now I'm adding this strings, In Zope2 I used DTML. Is it right? And what is right
way in Zope3 for this case?


-- 
Mikhail Kashkin
Key Solutions (http://keysolutions.ru/)



More information about the Zope3-users mailing list