On 07/06/05, Jason Leach <[EMAIL PROTECTED]> wrote:
> hi,
> I have a site developed with CSS.  We just translated the site to
> German.  The problem I have is with some embedded graphics.  For
> example:
> #rightcolumn h1 {
>         background: transparent url("i/news_title.jpg") no-repeat top left;
>         height: 38px;
>         width: 180px;
>         margin: 0;
>         padding: 0;
> }
> This is the English graphic.  If people are in the German side, I need
> news_title_de.jpg.  But I'm not sure how to deal with this without
> doing a separate CSS file.

You could make the CSS a DTML file that checks using <dtml-if>, or you
could even make news_title.jpg a python script that writes back an
image depending on where the user is from.
Phillip Hutchings
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to