css variables

Judd Pickell pickell at gmail.com
Wed Feb 7 19:45:11 MST 2007


I am not aware of anything in the CSS specification that actually allows
that, generally for doing that kind of stuff you would pull the css in
through javascript, or use the js DOM to mod the information on the fly.

On 2/7/07, Craig White <craig at tobyhouse.com> wrote:
>
> I can't find anything in w3.org specifications on stylesheets that
> suggests that I can do this but is it possible to have a 'variable' that
> I could substitute within a single stylesheet?
>
> What I am looking for is to define a color - say medblue = #466AD2
>
> and then use &medblue; or whatever to refer to it in various
> classes/id's
>
> Possible?
>
> --
> Craig White <craig at tobyhouse.com>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070207/da8f35a6/attachment.htm 


More information about the PLUG-discuss mailing list