Rik Comery
09-26-2003, 07:22 AM
Hi
Is it possible to reference styles in another style? Confused?
The syntex is wrong, but i would like something like this.
.bluecolour {color: #003366}
.redcolour {color: #FF0000}
.bluetext {font-family: arial; color: bluecolour}
.redtext {font-family: arial; color: redcolour}
I would like the value of "bluecolour" to be inserted in the bluetext style.
This example it is obviously easier to just put the correct colour in the bluetext style, but i will ultimately have many different styles, each needing to use the same colour.
Is it possible to reference styles in another style? Confused?
The syntex is wrong, but i would like something like this.
.bluecolour {color: #003366}
.redcolour {color: #FF0000}
.bluetext {font-family: arial; color: bluecolour}
.redtext {font-family: arial; color: redcolour}
I would like the value of "bluecolour" to be inserted in the bluetext style.
This example it is obviously easier to just put the correct colour in the bluetext style, but i will ultimately have many different styles, each needing to use the same colour.