B
bart plessers
Hello,
I am making a website where the user can choose a 'skin'.
This works with asp en stylesheets.
In the stylesheet, a number of tags are (re)defined.
The main idea is to have a limited number of colors (lets say 4) and use
only these colors to color up every tag.
However, with a long list of (custom) styles, it is a lot of work to scan
every item in the stylesheet and assign the correct color definition.
So I am wondering,
is it possible to use variables or something like that to give a name to
custom color
and use this name for the rest of the style sheet?
In example:
ThemeColor1 = #012345
ThemeColor2 = #678901
ThemeColor3 = #234567
ThemeColor4 = #890123
and then
BODY
{
BACKGROUND: <%=ThemeColor1%>;
color:<%=ThemeColor2%>;
}
etc...
can this be done in stylesheets?
can this be done in ASP?
tia
bart plessers
--
==========================================
Hyper A.R.T.
bart plessers
Paul Van Ostaijenlaan 4
3001 Heverlee
BELGIUM
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
==========================================
I am making a website where the user can choose a 'skin'.
This works with asp en stylesheets.
In the stylesheet, a number of tags are (re)defined.
The main idea is to have a limited number of colors (lets say 4) and use
only these colors to color up every tag.
However, with a long list of (custom) styles, it is a lot of work to scan
every item in the stylesheet and assign the correct color definition.
So I am wondering,
is it possible to use variables or something like that to give a name to
custom color
and use this name for the rest of the style sheet?
In example:
ThemeColor1 = #012345
ThemeColor2 = #678901
ThemeColor3 = #234567
ThemeColor4 = #890123
and then
BODY
{
BACKGROUND: <%=ThemeColor1%>;
color:<%=ThemeColor2%>;
}
etc...
can this be done in stylesheets?
can this be done in ASP?
tia
bart plessers
--
==========================================
Hyper A.R.T.
bart plessers
Paul Van Ostaijenlaan 4
3001 Heverlee
BELGIUM
tel: +32 (16) 23.40.85
fax: +32 (16) 23.41.06
==========================================