Re: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-22 Thread Ben Curtis


Webmaster wrote:


The far simpler way would be simpy to use:
 ol start=3 type=1
 li class=MsoNormalText/li
 li class=MsoNormalText/li
 li class=MsoNormalText/li
/ol



This would render as:

3. Text
4. Text
5. Text

The poster wants:

3.1. Text
3.2. Text
3.3. Text

--

Ben Curtis : webwright
bivia : a personal web studio
http://www.bivia.com
v: (818) 507-6613




**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



Re: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Daniel Nitsche
There is something on this very topic in the WCAG:
http://www.w3.org/TR/WCAG10-HTML-TECHS/#lists

Cheers,

Daniel NitscheOn 9/21/05, Taco Fleur - Pacific Fox [EMAIL PROTECTED] wrote:







Is there any way to 
make list look like

3.1 text 
text
3.2 text text
3.3 text 
text
3.4 text text

Instead 
of


1 text 
text
2 text text
3 text 
text
4 text text

I am thinking NOT with 
plain markup, but I could be wrong (just 
checking).

And how would someone 
else do this? Just use ul and put the numbering within the list item as 
text?

Taco Fleur 
- Pacific Foxan industry leader with 
commercial IT experience since 1994 …http://www.pacificfox.com





RE: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Patrick Lauke
 Daniel Nitsche

 There is something on this very topic in the WCAG:
 http://www.w3.org/TR/WCAG10-HTML-TECHS/#lists

And the clincher on that still is
Until either CSS2 is widely supported or user agents
allow users to control rendering of lists through other means,
authors should consider providing contextual clues in
unnumbered nested lists.

Another consideration is also that this seems to me, in this
particular case, to contradict

6.1 Organize documents so they may be read without style
sheets. For example, when an HTML document is rendered
without associated style sheets, it must still be possible
to read the document.

If the numbering is set via CSS2, then without an associated
style sheet the numbering won't match (if, for instance, you're
doing a table of contents with the numbering reflecting the
number given to sections/headings).

Patrick
__
Patrick H. Lauke
Webmaster / University of Salford
http://www.salford.ac.uk
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



RE: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Gene Falck

Hi Patrick,

You wrote:


... still is
Until either CSS2 is widely supported or user agents
allow users to control rendering of lists through other
means, authors should consider providing contextual
clues in unnumbered nested lists.


Especially since the information in the compound
numbering could be looked upon as content anyhow.


Another consideration is also that this seems to me,
in this particular case, to contradict

6.1 Organize documents so they may be read without style
sheets. For example, when an HTML document is rendered
without associated style sheets, it must still be possible
to read the document.

If the numbering is set via CSS2, then without an associated
style sheet the numbering won't match (if, for instance, you're
doing a table of contents with the numbering reflecting the
number given to sections/headings).


Excellent point and a very appropriate concern
if you are thinking of the visitor's need to be
able to follow the organization of the document.

Regards,

Gene Falck
[EMAIL PROTECTED]


**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Webmaster



The far simpler way would be simpy to 
use:

ol start=3 type=1li 
class=MsoNormalText/lili 
class=MsoNormalText/lili 
class=MsoNormalText/li/ol

Works in IE and Firefox. Probably all the others 
too.


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of James 
EllisSent: Wednesday, 21 September 2005 10:24 PMTo: 
wsg@webstandardsgroup.orgSubject: Re: [WSG] ol displaying 3.1 
3.2 etc. instead of 1 2 3
HiYes there is, using "counter". Only works in Opera and 
KHTML browser (Konquerer, possibly Safari), though.http://www.meyerweb.com/eric/css/tests/css2/sec12-05a.htmCheersJames
On 9/21/05, Taco Fleur - 
Pacific Fox [EMAIL PROTECTED] 
wrote:

  Is there any way to make list look 
  like
  
  3.1 text 
  text
  3.2 
  text text
  3.3 text text
  3.4 text text
  
  Instead 
  of
  
  
  1 text 
  text
  2 text 
  text
  3 
  text text
  4 text text
  
  I am thinking NOT 
  with plain markup, but I could be wrong (just 
  checking).
  
  And how would 
  someone else do this? Just use ul and put the numbering within the 
  list item as 
  text?
  
  Taco Fleur 
  - Pacific Foxan industry leader 
  with commercial IT experience since 1994 http://www.pacificfox.com
  


RE: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Webmaster



The far simpler way would be simpy to 
use:

ol start=3 type=1li 
class=MsoNormalText/lili 
class=MsoNormalText/lili 
class=MsoNormalText/li/ol

Works in IE and Firefox. Probably all the others 
too.


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of James 
EllisSent: Wednesday, 21 September 2005 10:24 PMTo: 
wsg@webstandardsgroup.orgSubject: Re: [WSG] ol displaying 3.1 
3.2 etc. instead of 1 2 3
HiYes there is, using "counter". Only works in Opera and 
KHTML browser (Konquerer, possibly Safari), though.http://www.meyerweb.com/eric/css/tests/css2/sec12-05a.htmCheersJames
On 9/21/05, Taco Fleur - 
Pacific Fox [EMAIL PROTECTED] 
wrote:

  Is there any way to make list look 
  like
  
  3.1 text 
  text
  3.2 
  text text
  3.3 text text
  3.4 text text
  
  Instead 
  of
  
  
  1 text 
  text
  2 text 
  text
  3 
  text text
  4 text text
  
  I am thinking NOT 
  with plain markup, but I could be wrong (just 
  checking).
  
  And how would 
  someone else do this? Just use ul and put the numbering within the 
  list item as 
  text?
  
  Taco Fleur 
  - Pacific Foxan industry leader 
  with commercial IT experience since 1994 http://www.pacificfox.com
  


Re: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Patrick H. Lauke

Webmaster wrote:

The far simpler way would be simpy to use:
 
ol start=3 type=1

 li class=MsoNormalText/li
 li class=MsoNormalText/li
 li class=MsoNormalText/li
/ol


MsoNormal? Somebody's been exporting from Word, eh? ;)

Yes, that's the simplest way...shame though that this does not validate 
against XHTML 1.0 strict or higher, as start and type have been dropped.


--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**



RE: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Webmaster
Be nice. It's a common enough solution.

MS don't get absolutely everything wrong, you know. :P 

-Original Message-
From: Patrick H. Lauke

MsoNormal? Somebody's been exporting from Word, eh? ;)

Webmaster wrote:
 The far simpler way would be simpy to use:
  
 ol start=3 type=1
  li class=MsoNormalText/li
  li class=MsoNormalText/li
  li class=MsoNormalText/li
 /ol



**
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list  getting help
**



Re: [WSG] ol displaying 3.1 3.2 etc. instead of 1 2 3

2005-09-21 Thread Patrick H. Lauke

Webmaster wrote:

Be nice. It's a common enough solution.


Sure...just worth pointing out that if you do use it, you either need to 
stick with HTML 4.01 or XHTML 1.0 Transitional, or claim strict 
validation and knowingly have invalid markup in your page.


MS don't get absolutely everything wrong, you know. :P 


They should really quote their attributes though ;)

--
Patrick H. Lauke
__
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
__
Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
__
**
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list  getting help
**