Sent by David McCreath on 12 February 2002 15:03
Brian Costner wrote:
> If you're using different stylesheets, you might just leave the classes you
> want to default to no style blank. For example if you had:
>
> .someclass {font-size: 20px;
> etc;}
>
> you might create a different stylesheet with:
>
> .someclass {}
Hi, Brian --
That's the basic idea of the system as a whole: HTML4tr/CSS1, minimal
tables for layout and positioning. There's one stylesheet that holds all
the background color information for each class, with the font family
and size specs for each class in alternate sheets. The style sheet for
"no font styling" has only the body tag defined in it (I tried using
just a blank stylesheet but NN4 puked on it).
But what I'm specifically doing here is trying to display samples of
each option, no matter which stylesheet the user has selected. The
problem that I'm running into is inheritance: because the body and td
tags have font family and size specified by default, everything that
I've tried to remove styling has resulted in the "unstyled" sample
displaying in the currently selected style sheet.
Thanks
David