Previous Message
Next Message

Re: CSS list numbering - non-contiguous lists in XHTM L 1.1

Sent by David Balch on 24 May 2005 17:05


Hi,

> From: David Dorward [EMAIL-REMOVED]] 
> CSS 2, look up the "counter" property. Browser support is 
> rubbish though.

As far as I've read, there's no way to continue numbering over separate ol
elements - are you aware of a way to use "counter" to enable this?

Perhaps the <identifier> of counter [COUNT] refer to a class on the ol
element (via an Attribute selectors [ATTRIB]) - whereby all ol elements with
the same class use the same counter. Can attribute selectors be used as
identifiers?

[COUNT] http://www.w3.org/TR/CSS21/syndata.html#counter
[ATTRIB] http://www.w3.org/TR/CSS21/selector.html#attribute-selectors

Cheers,
Dave.

-- 
David Balch.          | Web developer.
T: +44 (0)1865 280979 | Technology-Assisted Lifelong Learning.
F: +44 (0)1865 280982 | University of Oxford.
E: [EMAIL-REMOVED]

TALL, OUDCE and the University of Oxford accept no legal responsibility for
the contents of this message. Any views or opinions presented are only those
of the author and not those of TALL, or OUDCE, or the University of Oxford.
If this email has come to you in error please delete it and any attachments

 

> -----Original Message-----
> From: David Dorward [EMAIL-REMOVED]] 
> Sent: 24 May 2005 15:24
> To: [EMAIL-REMOVED]
> Subject: [css-d] Re: CSS list numbering - non-contiguous 
> lists in XHTML 1.1
> 
> On 5/24/05, David Balch 
> [EMAIL-REMOVED]> wrote:
> 
> > I wonder if anyone can help me, I would like (using XHTML 
> 1.1 and CSS) 
> > to have a numbered list that is interupted part way through (e.g. 
> > after item 3), then continues with the next consectutive 
> number in the sequence (e.g.
> > item 4), something like [MORN].
> 
> > If there is a way to do this in CSS (2 or 3), I'd love to 
> know about it.
> 
> CSS 2, look up the "counter" property. Browser support is 
> rubbish though.
> 
> --
> David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
> ______________________________________________________________________
> css-discuss [EMAIL-REMOVED]] 
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by 
> evolt.org -- http://www.evolt.org/help_support_evolt/
> 
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: