W3C home > Mailing lists > Public > www-style@w3.org > October 2002

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

From: Peter S. Linss <peter@linss.com>
Date: Sat, 12 Oct 2002 15:05:08 -0700
Message-ID: <3DA89C94.8E157B75@linss.com>
To: www-style@w3.org

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:04 UTC