[Zope] Color names

Paul Winkler pw_lists at slinkp.com
Mon Nov 29 13:46:18 EST 2004


On Mon, Nov 29, 2004 at 02:43:40PM +0000, John Poltorak wrote:
> So when I specify something like 'red' for backgroundColor is this simply 
> a directive to the browser?

Yes. *everything* in HTML and CSS can be thought of as "simply a directive 
to the browser."

Anything that is a directive to the server must be something other
than HTML or CSS: e.g. in zope you have dtml tags, TALES expressions,
etc.  In other systems you have SSI (apache), PHP tags (php), etc etc.
What all these systems have in common is that the instructions to
the server are parsed, processed, and are never seen by the client.

This is perhaps an overly pedantic view, since there's nothing
to prevent code on the server from parsing your HTML or CSS
and taking some action based on the result.  But that's a bit
unusual.

-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list