Since you're also posting in PHP forums you can make use of such language!
;)

<?
$css_color = '#112233';
?>
<style>
.style1 { color:<?=$css_color?>; height:100px}
.style2 { color:<?=$css_color?>; height:100px}
</style>

etc...



Elias

"Scott Carr" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I know this is not the specific list for this, but I figured there'd be a
couple
> CSS gurus here.
>
> Is there a way to create CONTSTANTS or variables in css?
>
> I have 2 colors that I need to use in about 20 places, and it would be
> benificial to use a constant.
>
> Thanks for any help.
> --
> Scott Carr
> OpenOffice.org
> Documentation Maintainer
> http://documentation.openoffice.org/
>
>
>
>
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to