Re: Tables and Charts

Benjamin C. W. Sittler (bsittler@prism.nmt.edu)
Fri, 7 Jul 1995 10:03:38 -0600


Message-Id: <199507071603.KAA03115@white.nmt.edu>
From: bsittler@prism.nmt.edu (Benjamin C. W. Sittler)
Date: Fri, 7 Jul 1995 10:03:38 -0600
In-Reply-To: "Chris Tilbury" <C.J.Tilbury@estate.warwick.ac.uk>
To: "Chris Tilbury" <C.J.Tilbury@estate.warwick.ac.uk>
Subject: Re: Tables and Charts
Cc: www-html@www10.w3.org

Qestion: Since it is suggested that CLASS names can have more than one
word seperated by '.', with the leftmost word being the most general, why
not "enforce" this in stylesheets by specifying that, for example, <P
CLASS=MyClass.MySubClass> would inherit properties of <P CLASS=MyClass>?
That way, if you wanted to customize a pie-chart, you could set the
properties of <TABLE CLASS=2dpie.MyStyle>, which would inherit the
properties of <TABLE CLASS=2dpie>, which would usually (in
graphics-capable browsers,) render as a pie-chart by default. This could,
of course, be overridden in a stylesheet. <TABLE CLASS=2dpie> could, for
example, be styled to render as a plain table, a bar graph, or whatever,
using stylesheet properties like those you suggested. 

Any comments? (I know, this would majorly muck up current stylesheet
designs, but wouldn't it greatly enhance them?)

-- 
-------------------------------------------------------------------------------
 Name: Benjamin C. W. Sittler -- Email: bsittler@nmt.edu -- Snail: P.O. Box 153
 Web: http://nmt.edu/~bsittler/         bcws@arc.unm.edu           Socorro, NM
-------------------------------------------------------------------------------