Re: Proposal: inheritance of styles -in the stylesheet itself-

or you could just do:

        .normalText, .large1Text, .large2Text {
                text-align: left;
                text-decoration: none;
                vertical-align: baseline;

                font-family: "Times New Roman", "Times", serif;
                font-size: 1em;
                font-style: normal;
                font-weight: normal;

                color: inherit;
                background-color: inherit;
        }

        .large1Text {
                font-size: 1.2em;
        }

        .large2Text {
                font-size: 1.44em;
        }

under the current standards and implementations.

While this isn't quite inheritance in the way that you request, it's a way of
using the cascade to achieve the same end result.

Received on Saturday, 12 October 2002 18:05:10 UTC