Re: [WSG] css variables

2005-10-03 Thread Mordechai Peller
Drake, Ted C. wrote: Here’s the deal. I have a main navigation css. I’d like to create an alternate template and instead of replacing the nav.css with a new flavored nav.css, I’d like to put my color rules in a theme css file. Since I've only glanced at the solutions referred to in some of

Re: [WSG] css variables

2005-09-29 Thread Alan Trick
Hassan Schroeder wrote: 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

Re: [WSG] css variables

2005-09-28 Thread Terrence Wood
Drake, Ted C. said: There was a recent spat of posts about using variables in CSS.[snip] Ouch, my 4 rule css file now grows to 54,056 lines of rules re-writing the #f60 code. Wouldn't it be lovely if I just had {selectedlink} : #ffcfcf ? There's no point using a slegehammer to drive in a

Re: [WSG] css variables

2005-09-28 Thread Steve Clason
On 9/28/2005 2:33 PM Drake, Ted C. wrote: I'm not sure If I asked the question right. I'm not looking to do a search and replace. I'm hoping to set a variable in the CSS, such as This is the color of all selected links in the navigation. Then, the css would just set that variable. All of the

RE: [WSG] css variables

2005-09-28 Thread Rebecca Cox
@webstandardsgroup.org' Subject: RE: [WSG] css variables Hi Terrence I'm not sure If I asked the question right. I'm not looking to do a search and replace. I'm hoping to set a variable in the CSS, such as This is the color of all selected links in the navigation. Then, the css would just set that variable. All

RE: [WSG] css variables

2005-09-28 Thread Rebecca Cox
' Subject: RE: [WSG] css variables Hi Terrence I'm not sure If I asked the question right. I'm not looking to do a search and replace. I'm hoping to set a variable in the CSS, such as This is the color of all selected links in the navigation. Then, the css would just set that variable. All

RE: [WSG] css variables

2005-09-28 Thread Drake, Ted C.
To: wsg@webstandardsgroup.org Cc: [EMAIL PROTECTED] Subject: RE: [WSG] css variables Hi Ted, You're not thinking of these? http://meyerweb.com/eric/thoughts/2005/08/31/the-constants-gardener/ Cheers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Drake

RE: [WSG] css variables

2005-09-28 Thread Terrence Wood
yeah, I thought you meant you were using 56K lines of code to replace 4 lines of CSS... sounded like overkill to me when a one line regex can do the same thing. Constants and variables are not going to part of CSS any time soon, so you will need some kind of server side solution - a few are

Re: [WSG] css variables

2005-09-28 Thread Hassan Schroeder
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

Re: [WSG] css variables

2005-09-28 Thread Thierry Koblentz
Hassan Schroeder wrote: 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

Re: [WSG] css variables

2005-09-28 Thread Bert Doorn
G'day Thierry Koblentz wrote: And as a side note, with MSIE, it is possible to give an ASP extension to the styles sheet to use scripting logic within that file. ASP, PHP or whatever server side language you use, as long as you set the appropriate content type on (in) the file (be it

Re: [WSG] css variables

2005-09-28 Thread Thierry Koblentz
Bert Doorn wrote: ASP, PHP or whatever server side language you use, as long as you set the appropriate content type on (in) the file (be it css.asp, css.php or whatever) it should work in more browsers than just MSIE. I just ran a test and it worked fine in Opera 8, Firefox, MSIE6 and