Re: [css-d] Legal format lists

2010-09-24 Thread Geoff Lane
On Friday, September 24, 2010, 6:12:06 AM, Thierry Koblentz wrote: The technique used on Wikipedia won't give you the wrapping you want. What about using two spans and using this approach: lispan class=num2.1.1.2/spanspan class=textIt shall be construed a crime against humanity to recover an

Re: [css-d] Legal format lists

2010-09-24 Thread Alan Gresley
Geoff Lane wrote: On Friday, September 24, 2010, 6:12:06 AM, Thierry Koblentz wrote: The technique used on Wikipedia won't give you the wrapping you want. What about using two spans and using this approach: lispan class=num2.1.1.2/spanspan class=textIt shall be construed a crime against

Re: [css-d] Legal format lists

2010-09-24 Thread Geoff Lane
On Thursday, September 23, 2010, 8:10:48 PM, Eric A. Meyer wrote: In theory you could do it with a combination of ::marker and CSS counters. In practice, nobody ever implemented ::marker. And I agree with the assertions made in the link from David H.'s post, that you want the

Re: [css-d] Legal format lists

2010-09-24 Thread Geoff Lane
On Friday, September 24, 2010, 9:52:45 AM, Alan Gresley asked whether the markup was OK for HTML 4.01 Strict. --- Unfortunately not. I have to confess to being a naughty boy and using deprecated attributes in the HTML! One day I'll learn enough about CSS to be able to do away with them, but for

Re: [css-d] Legal format lists

2010-09-24 Thread Duncan Hill
On Fri, 24 Sep 2010 10:05:40 +0100, Geoff Lane ge...@gjctech.co.uk wrote: On Friday, September 24, 2010, 9:52:45 AM, Alan Gresley asked whether the markup was OK for HTML 4.01 Strict. --- Unfortunately not. I have to confess to being a naughty boy and using deprecated attributes in the HTML!

Re: [css-d] Legal format lists

2010-09-24 Thread Geoff Lane
On Friday, September 24, 2010, 11:15:57 AM, Duncan Hill wrote: Even a fully qualified transitional Doctype should trigger Standards Mode in IE !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; and so give you the benefit of stability

Re: [css-d] Legal format lists

2010-09-24 Thread Thierry Koblentz
Thanks for that. I had (mistakenly) assumed that it wasn't necessary to refer to the DTD explicitly and that each flavour of HTML was fully defined. BTW, switching my doctype declaration to 4.01 strict and then running the page through W3C's validator jogged my memory as to why I've stayed

Re: [css-d] Legal format lists

2010-09-24 Thread David Hucklesby
On 9/24/10 1:53 AM, Geoff Lane wrote: On Thursday, September 23, 2010, 8:10:48 PM, Eric A. Meyer wrote: In theory you could do it with a combination of ::marker and CSS counters. In practice, nobody ever implemented ::marker. And I agree with the assertions made in the link from David

Re: [css-d] Legal format lists

2010-09-24 Thread Michael Geary
On Fri, Sep 24, 2010 at 3:36 AM, Geoff Lane ge...@gjctech.co.uk wrote: BTW, switching my doctype declaration to 4.01 strict and then running the page through W3C's validator jogged my memory as to why I've stayed with the transitional standard: the target attribute of the anchor tag is

Re: [css-d] Legal format lists

2010-09-24 Thread Geoff Lane
Multiple replies in one post: On Friday, September 24, 2010, 6:42:54 PM, David Hucklesby wrote: That markup may be difficult for a screen reader to digest. I'd stick with a list if I were you (and clobber the list markers/numbers with list-style-type: none.) Thanks. It's an internal document

[css-d] Legal format lists

2010-09-23 Thread Geoff Lane
Hi All, Sorry for jumping in without waiting a few days after joining the list, but I'm going round in circles. Having searched the 'net for a couple of days I still can't get the format for the constitution of a local community group right using CSS, so I'm turning to this list in the hope of

Re: [css-d] Legal format lists

2010-09-23 Thread David Hucklesby
On 9/23/10 9:11 AM, Geoff Lane wrote: Hi All, Sorry for jumping in without waiting a few days after joining the list, but I'm going round in circles. Having searched the 'net for a couple of days I still can't get the format for the constitution of a local community group right using CSS, so

Re: [css-d] Legal format lists

2010-09-23 Thread Eric A. Meyer
At 5:11 PM +0100 9/23/10, Geoff Lane wrote: Unfortunately, this doesn't give proper hanging indents. So I'm guessing I need some way of setting tab stops and inserting a tab after each para number; or some way of reinstating the standard LI behaviour while retaining the legal-style numbering.

Re: [css-d] Legal format lists

2010-09-23 Thread Geoff Lane
On Thursday, September 23, 2010, 8:10:48 PM, Eric A. Meyer wrote: Given that, however, you might be able to get away with a markup structure like this: lispan class=num2.1.1.2/span It shall be construed a crime against humanity to recover an ancient musical instrument from a

Re: [css-d] Legal format lists

2010-09-23 Thread Thierry Koblentz
lispan class=num2.1.1.2/span It shall be construed a crime against humanity to recover an ancient musical instrument from a secluded cave and subsequently play it in front of others./li ...and then float or position the classed 'span' next to the list item. I'd probably try