Terrence Wood wrote:
> Constants and variables are not going to part of CSS any time soon, so you
> will need some kind of server side solution ...
>
> AFAIK they all use seom form of regex to do the replacement
Well, no -- I frequently use variables in style sheets built in JSP,
especially early on in development. And there it's simple Expression
Language (EL) variable substitution, so something like this:
a:hover, a:focus { color: ${contrastColor}; }
can be evaluated per site, per session, or even per request, making
it really easy to test, tune, and/or customize...
FWIW!
--
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************