[Zope] Working with CSS'
Phillip Hutchings
sitharus at gmail.com
Tue Jun 7 00:19:08 EDT 2005
On 07/06/05, Jason Leach <jason.leach at gmail.com> 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
http://www.sitharus.com/
sitharus at gmail.com / sitharus at sitharus.com
More information about the Zope
mailing list