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

Re: list style suggestion

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 17 Oct 2001 13:28:19 +0200
To: Stuart Ballard <sballard@NetReach.Net>
Cc: www-style@w3.org
Message-ID: <2ppqst0ehku2o4lc1oqftlqanl1q4npl5i@4ax.com>
* Stuart Ballard wrote:
>Bjoern Hoehrmann wrote:
>> 
>> >It seems like list items could also be arrayed horizontally as follows:
>> >1.     The first item  2.      The second item
>> >       goes in here.           goes here.
>> 
>> These are actually columns, CSS Level 3 has a Column Module for this
>> kind of functionality, see http://www.w3.org/TR/css3-multicol
>
>Or how about:
>
>li { display: table-cell }
>li:before { content: counter(...) }

I am not sure how user agents shall handle this case. HTML user agents
may ignore this declaration and authors should not define such rules.
HTML controls nesting of different display-role and display-mode
settings but other document languages might have a different structure.
I think user agents should ignore a 'display: table-cell' unless the
element is a child of some 'display: table-row' element, no?

>It wouldn't be exactly right, but it would kind of work on today's
>browsers...

Will it in tomorrow's?
-- 
Björn Höhrmann { mailto:bjoern@hoehrmann.de } http://www.bjoernsworld.de
am Badedeich 7 } Telefon: +49(0)4667/981028 { http://bjoern.hoehrmann.de
25899 Dagebüll { PGP Pub. KeyID: 0xA4357E78 } http://www.learn.to/quote/
Received on Wednesday, 17 October 2001 07:29:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:11 GMT