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
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
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
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
@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
'
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
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
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
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
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
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
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
12 matches
Mail list logo