Re: [WSG] Catch 22 list problem

2008-04-03 Thread Christian Snodgrass
I know this is a fairly old topic, but it's come up several times and I don't know if this solution has ever been stated before: You can actually set the value attribute for the li elements with the number you want it to have. After that, all succeeding lis will be numbered based on that one.

RE: [WSG] Catch 22 list problem

2007-10-14 Thread michael.brockington
Friesen Sent: Sat 10/13/2007 11:53 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Catch 22 list problem My 2cent; At my College, we often wish to publish excerpts from official policy manuals tc where we're showing Section 2.4.7, Paragraphs B through G, points 3-16, and so on... The CSS

Re: [WSG] Catch 22 list problem

2007-10-14 Thread Tim White
Going back to the original post: Pick your poison: 1. Invalid code 2. Use a transitional DOCTYPE 3. Set value with DOM-script I'm surprised that no one has said #2; just fall back to a transitional doctype. You can still write your markup with standards in mind, use the deprecated attribute,

Re: [WSG] Catch 22 list problem

2007-10-14 Thread Jason Friesen
That's pretty much what we did; usually hx and p, with ul where appropriate. But I still look longingly at the counters in CSS, and grimace everytime someone says, But we have to add in another point between 2 and 3... On 2007-Oct-14, at 14:10 , [EMAIL PROTECTED] [EMAIL PROTECTED]

Re: [WSG] Catch 22 list problem

2007-10-13 Thread JonMarc Wright
How hard would it be to have the list start with two empty elements, removed from view in what ever way works best? Mike It would be very simple, though you'd need to use a class for it. Empty list items isn't exactly semantic, however, and anyone browsing with css turned off would see two

Re: [WSG] Catch 22 list problem

2007-10-13 Thread Patrick H. Lauke
[EMAIL PROTECTED] wrote: How hard would it be to have the list start with two empty elements, removed from view in what ever way works best? That would be dangerously close to using markup to achieve a certain visual effect though. P -- Patrick H. Lauke

Re: [WSG] Catch 22 list problem

2007-10-13 Thread Keryx Web
Jens Brueckmann skrev: there do exist counters in CSS, see http://www.w3.org/TR/CSS2/generate.html#counters but, as you might have guessed, they are not supported by Internet Explorer. Yes. I was a bit too short on that one... As you already observed, list counters are rather content

Re: [WSG] Catch 22 list problem

2007-10-13 Thread Jens Brueckmann
Next question: How would a custom DTD affect standards-compliance vz. quirks mode. That is a subject that I have no knowledge about. I prepared a short example at http://lairx.de/071011/numbering-lists.html Triggers strict mode in Firefox - what about MSIE, Opera, Safari, etc? Opera

Re: [WSG] Catch 22 list problem

2007-10-13 Thread Philippe Wittenbergh
On Oct 13, 2007, at 10:10 PM, Jens Brueckmann wrote: I prepared a short example at http://lairx.de/071011/numbering- lists.html Triggers strict mode in Firefox - what about MSIE, Opera, Safari, etc? Opera 9.23/Win32+Linux and MSIE 6 SP1 both render in strict mode as well. I do not

RE: [WSG] Catch 22 list problem

2007-10-13 Thread michael.brockington
ideas - my preferred option would really be to work around the problem... Mike -Original Message- From: [EMAIL PROTECTED] on behalf of Patrick H. Lauke Sent: Sat 10/13/2007 12:25 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Catch 22 list problem [EMAIL PROTECTED] wrote: How

RE: [WSG] Catch 22 list problem

2007-10-12 Thread michael.brockington
@webstandardsgroup.org Subject: Re: [WSG] Catch 22 list problem On Oct 12, 2007, at 4:42 AM, Keryx Web wrote: A. li value=3 is not allowed in strict HTML 4/XHTML 1.0, Spec says use CSS. B. I want to start at 3. C: CSS has no means to specify a start value! Pick your poison: 1. Invalid code 2. Use

Re: [WSG] Catch 22 list problem

2007-10-11 Thread Svip
Actually, read this page instead: http://www.arraystudio.com/as-workshop/make-ol-list-start-from-number-different-than-1-using-css.html I just realised that is not in XHTML. On 11/10/2007, Svip [EMAIL PROTECTED] wrote: Try ol start=3 instead. Regards, Svip On 11/10/2007, Keryx Web [EMAIL

Re: [WSG] Catch 22 list problem

2007-10-11 Thread Svip
Try ol start=3 instead. Regards, Svip On 11/10/2007, Keryx Web [EMAIL PROTECTED] wrote: Hi all! Short version: A. li value=3 is not allowed in strict HTML 4/XHTML 1.0, Spec says use CSS. B. I want to start at 3. C: CSS has no means to specify a start value! Pick your poison: 1.

Re: [WSG] Catch 22 list problem

2007-10-11 Thread Jens Brueckmann
Hi Lars, A. li value=3 is not allowed in strict HTML 4/XHTML 1.0, Spec says use CSS. B. I want to start at 3. C: CSS has no means to specify a start value! But regardless of whom I should blame there is a problem to solve. I would like to know which solution that you would use and why.

Re: [WSG] Catch 22 list problem

2007-10-11 Thread Kit Grose
I'm in the 'Invalid code' camp here. Of course it matters what your target market is too, and whether it would be an issue if the numbers just didn't show up for IE users (likely the case). To my mind, the numbers in a list are inherently content and should not be passed off to the

Re: [WSG] Catch 22 list problem

2007-10-11 Thread Philippe Wittenbergh
On Oct 12, 2007, at 4:42 AM, Keryx Web wrote: A. li value=3 is not allowed in strict HTML 4/XHTML 1.0, Spec says use CSS. B. I want to start at 3. C: CSS has no means to specify a start value! Pick your poison: 1. Invalid code 2. Use a transitional DOCTYPE 3. Set value with DOM-script