[thelist] Variable Stylesheets?

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Mon Dec 3 04:26:44 CST 2001


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

Hi There

If you're Apache/XSSI, then you can parse .css files as XSSI
and run it all through as variables there without worrying about
the extension.

Have a look at
http://evolt.org/article/thelist/17/4415/index.html#comment16681

(the main article there is my Perl translation of Adrian's system)

It does reduce maintenance, as now I only have one stylesheet
to maintain, rather than three. If I had the time, I'd put the print
stylesheet in there too...

Cheers
Martin


To:   thelist at lists.evolt.org
cc:


Subject:  Re: [thelist] Variable Stylesheets?


> Here's a quicky sample: http://www.famnets.com/varcsstest.asp

hi lon

very nice technique

i've seen several ways of letting users choose styles (including one that
uses alternate style sheets, i.e. does not involve a trip back to the
server), but your method does seem to offer a great deal of flexibility

i would've thought that perhaps some older browsers might require the
linked style sheet to have the ".css" extension, but it does work in
windows netscape 4.04 and 4.75 (the only older css-capable browsers i've
got), so it would appear you've got something there


--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.





More information about the thelist mailing list