[Zope-dev] ZPT for CSS, anyone?

Jamie Heilman jamie at audible.transient.net
Sat Mar 27 22:49:18 EST 2004


Dylan Jay wrote:
> Has anyone had a go at building a new templating language for CSS files?

No, because it isn't needed.  99.9% of the time a style sheet is
static.

> My current need for this is being able to put set correct absolute urls for
> background images in a css file such that I can still use dreamweaver to do
> visual editing.

How do you do this with a normal <img>?  Describe the process.  Then
we'll tell you how to use that very same process with a style sheet.

> Speaking of which, absolute urls are a real pain. There must be a better way
> of being able to edit files on a file system and have the server use
> absolute urls without having to write expressions for every single
> reference? Isn't there some equivilent to the html base tag to specify what
> "/" means?

Why are you bent on using absolute URLs for images in the first place?

-- 
Jamie Heilman                     http://audible.transient.net/~jamie/
"You came all this way, without saying squat, and now you're trying
 to tell me a '56 Chevy can beat a '47 Buick in a dead quarter mile?
 I liked you better when you weren't saying squat kid." -Buddy



More information about the Zope-Dev mailing list