RE: [PHP-WIN] CSS Question

2002-08-16 Thread Martin.Andrew
You can always build the entire CSS file with PHP and use standard PHP varaibles where necessary > 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 t

RE: [PHP-WIN] CSS Question

2002-08-16 Thread Brian 'Bex' Huff
I can state quite comfortable that neither CSS Level 1 nor CSS Level 2 support constants, variables, or anything along those lines. They are strict data files. There is some talk on the lists about adding such support, but not much hope. Looks like you're stuck typing :1,$s/x/green/g in Vim

RE: [PHP-WIN] CSS Question

2002-08-15 Thread Collins, Robert
If I understand correctly you could just make you style sheet a php file (ie. style.css.php) then enter code like ## start file style.css.php BODY {BACKGROUND: ; COLOR: ;} A:link {COLOR: ; FONT-FAMILY: Arial; TEXT-DECORATION: none;} A: