I've been wondering for a while whether you can do this...
let's say I define a class thus:
..myClass {font-family:verdana, sans-serif; font-size:11px; color:#006699;
text-decoration:unde rline}
then I want to define a SUB-CLASS of this one.. i.e., I want to define a
new class just like this one but w/only one attr set differently, and I
don't want to repeat all attr's.. so how do I say
..subclass-of-above-class {color:#990000}
so this new sub-class of myClass has all attr's of above class except
for diff. font color..
can u do this? thank you...... Frances
let's say I define a class thus:
..myClass {font-family:verdana, sans-serif; font-size:11px; color:#006699;
text-decoration:unde rline}
then I want to define a SUB-CLASS of this one.. i.e., I want to define a
new class just like this one but w/only one attr set differently, and I
don't want to repeat all attr's.. so how do I say
..subclass-of-above-class {color:#990000}
so this new sub-class of myClass has all attr's of above class except
for diff. font color..
can u do this? thank you...... Frances
Comment