[thelist] colour keywords in CSS?

Gwen Noel gwenium at yahoo.ca
Sat Sep 14 16:59:01 CDT 2002


Hi,

Sorry for taking so long with this, but thanks for the help.  :)

Gwen

--- Ken Kogler <ken.kogler at curf.edu> wrote:
> > I was wondering if there is any ways to define
> > common colours accross a stylesheet.
>
> Do you know any server-side scripting languages? ASP, PHP,
> ColdFusion,
> etc?
>
> If so, you can do something like this (this is ASP, since it's what I
> know):
>
>  --- start css file ---
>
> <%
>   response.contentType = "text/css"
>   bgColor = "#ffffff"
>   divBG = "#0000ff"
> %>
>
> body { background-color: <%= bgColor %>; }
> #content { background-color: <%= divBG %>; }
>
>  --- / end css file ---
>
> HTH!
> --Ken
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !


=====
Gwen Noel
http://www.gwen-noel.com
"When you run out of love, you gotta stop and make some"

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com



More information about the thelist mailing list