W3C home > Mailing lists > Public > www-html@w3.org > July 1995

Collapsed Lists

From: Benjamin C. W. Sittler <bsittler@prism.nmt.edu>
Date: Wed, 19 Jul 1995 13:46:21 -0600
Message-Id: <199507191946.NAA18376@gray.nmt.edu>
To: www-html@www10.w3.org
For browsers supporting collapsed lists, I suggest we use the ID attribute
to indicate those which are or are not collapsed initially, although it
really might be better to add a STYLE attribute to every HTML element...

<LI CLASS=DirList STYLE=Collapsed>

and in the stylesheet:

LI.DirList : Font.Family = Courier
LI[style = COLLAPSED] : List.Style = Accordian & Collapsed
LI[style = OPEN] : List.Style = Accordian & Expanded

Yes, this would be providing *extremely* abusable presentation-oriented
markup, but the underlying concept is one of presentation. Browsers
incapable of or averse to (i.e. through user preferences) collapsing lists
could safely ignore the stylesheet and/or the STYLE attribute.

my 2c

Benjamin C. W. Sittler
   "I have great confidence in fools -- self confidence my friends call it."
                            --Edgar Allen Poe
mailto:bsittler@nmt.edu                               http://nmt.edu/~bsittler/
Received on Wednesday, 19 July 1995 16:01:15 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:15 UTC