| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jan 2007
Posts: 32
|
Defining pre-set colours in css
I'm sure I remember reading somewhere of how you could set your own colour definitions in a css file, something like this: Code:
Is this possible somehow? |
|
|
|
|
|
#2 (permalink) |
|
blam blam
Join Date: Aug 2006
Location: ann arbor, mi usa
Posts: 527
|
only if you used a script. CSS does not have variables. you could write your CSS as a php page: PHP Code:
|
|
![]() |