Re: css variables

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: Main PLUG discussion list
Subject: Re: css variables
This is ruby and I am actually trying to keep things contained because I
am duplicating the css files for each different Class and it would make
my life simpler if I could simply assign the colors at the top of each
css file.

Thanks

Craig

On Wed, 2007-02-07 at 16:46 -0800, keith smith wrote:
> you could make multiple CSS definitions and write class="<?php echo
> $variable ?>" in your html code.
>
>
>
> Craig White <> 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 

>
>         ---------------------------------------------------
>         PLUG-discuss mailing list -
>         
>         To subscribe, unsubscribe, or to change you mail settings:
>         http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

>
>
>
> Keith Smith
> A link from my website to yours
> Submit Your Metro Phoenix Website
>
>
> ______________________________________________________________________
> Finding fabulous fares is fun.
> Let Yahoo! FareChase search your favorite travel sites to find flight
> and hotel bargains.
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss