[ale] [OT] Stylesheet question
Christopher R. Curzio
ale at accipiter.org
Thu May 9 22:12:14 EDT 2002
The easiest way to do that would be like this: (In the example, foo and
bar have the same color and background color, but the font face will be
different.)
.foo, .bar {
color: white;
background-color: black;
}
.foo {
font: 11px/10px arial, sans-serif;
}
.bar {
font: 40px/41px times, serif;
}
All you'd have to do to add/modify the shared elements is edit the entry
marked ".foo, .bar". Anything you want under each individual element, put
in its respective css call.
--
Christopher R. Curzio
http://www.accipiter.org
:wq!
Thus Spake David Corbin <dcorbin at imperitek.com>:
Thu, 09 May 2002 15:59:29 -0400
> I have a style class:
>
> .Foo {
> color: white;
> background-color: black;
> .
> .
> . etc.
> }
>
> Is there a way to define class ".Bar" where I say, start with everything
> as if it were ".Foo", except for what I replace?
>
> Thanks.
> David
> (If someone knows a really good place to get answers to this type of
> question, other than ALE, please let me know)
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems
> should be sent to listmaster at ale dot org.
>
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list