RE: [WSG] Ordered list mark-up

2004-06-08 Thread CHAUDHRY, Bhuvnesh
Any more thoughts on this one please ?

-Original Message-
From: Bert Doorn [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 8 June 2004 11:13 
To: [EMAIL PROTECTED]
Subject: RE: [WSG] Ordered list mark-up


G'day

Well, the specs appear to have provision for it.  Unfortunately the vast majority of 
browsers do not (yet) seem to support it.

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN
 HTML
HEAD
  TITLEContent alignment in the marker box/TITLE
  STYLE type=text/css
   LI:before { 
   display: marker;
   content: ( counter(counter,lower-alpha) ) ;
   counter-increment: counter;
   width: 3em;
   text-align: center;
   }
  /STYLE
   /HEAD
   BODY
 OL
   LI This is the first item.
   LI This is the second item.
   LI This is the third item.
 /OL
   /BODY
 /HTML

I've tested this code in Opera 7.5, MSIE 6, Mozilla 1.6 and Firefox 0.8.  It worked 
only in Opera, where it displayed both the regular 1 and the (a) like this:

  1. (a) This is the first item. 
  2. (b) This is the second item.
  3. (c) This is the third item.

(you'd need to set the ol's list-style to none, to suppress the numbers)

The others just showed a numbered list:

  1. This is the first item. 
  2. This is the second item.
  3. This is the third item.

Perhaps others have experimented with this and found a way for it to work in other 
browsers.

Regards
--
Bert Doorn, Better Web Design
www.betterwebdesign.com.au
Fast-loading, user-friendly websites

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



*
This e-mail message (along with any attachments) is intended only for the named 
addressee and could contain information that is confidential or privileged.  If you 
are not the intended recipient you are notified that any dissemination, copying or use 
of any of the information is prohibited.  Please notify us immediately by return 
e-mail if you are not the intended recipient and delete all copies of the original 
message and attachments. 

This footnote also confirms that this message has been checked for computer viruses.

*


*
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] Ordered list mark-up

2004-06-08 Thread Gary Menzel

 Any more thoughts on this one please ?

My only comment is that the CSS solution
provided isn't widely supported across commonly used browsers (like IE
and Moz). This was highlighted in the original post of the solution.

There is no other automatic way I can
see of doing what you want (other than styling out the bullet
completely and using your own numbering as part of the text when you generate
the list). You could either generate the numbers server-side or possibly
consider (scary cross-browser issues) some _javascript_ on the client side.

Something that W3C should possibly consider
would be a different list item type that performed this behaviour.


Gary Menzel
Web Development Manager
IT Operations Brisbane -+- ABN AMRO Morgans Limited
Level 29, 123 Eagle Street BRISBANE QLD 4000
PH: 07 333 44 828 FX: 07 3834 0828



To unsubscribe from this email please forward this email to: [EMAIL PROTECTED]

If this communication is not intended for you and you are not an authorised recipient of this email you are prohibited by law from dealing with or relying on the email or any file attachments. This prohibition includes reading, printing, copying, re-transmitting, disseminating, storing or in any other way dealing or acting in reliance on the information.  If you have received this email in error, we request you contact ABN AMRO Morgans Limited immediately by returning the email to [EMAIL PROTECTED] and destroy the original. We will refund any reasonable costs associated with notifying ABN AMRO Morgans. This email is confidential and may contain privileged client information. ABN AMRO Morgans has taken reasonable steps to ensure the accuracy and integrity of all its communications, including electronic communications, but accepts no liability for materials transmitted. Materials may also be transmitted without the knowledge of ABN AMRO Morgans.  ABN AMRO Morgans Limited its directors and employees do not accept liability for the results of any actions taken or not on the basis of the information in this report. ABN AMRO Morgans Limited and its associates hold or may hold securities in the companies/trusts mentioned herein.  Any recommendation is made on the basis of our research of the investment and may not suit the specific requirements of clients.  Assessments of suitability to an individuals portfolio can only be made after an examination of the particular clients investments, financial circumstances and requirements.
ABN AMRO Morgans Limited (ABN 49 010 669 726 AFSL 235410) A Participant of ASX Group



[WSG] Ordered list mark-up

2004-06-07 Thread CHAUDHRY, Bhuvnesh
Title: Ordered list mark-up





Hi guys,


I was wondering if you could tell me how to mark-up an ordered list using CSS so that the bullets are enclosed in parenthesis, e.g.

(a) Text piece 1
(b) Whatever


Thanks


Bhuvnesh Chaudhry





*
This e-mail message (along with any attachments) is intended only for the named addressee and could contain information that is confidential or privileged.  If you are not the intended recipient you are notified that any dissemination, copying or use of any of the information is prohibited.  Please notify us immediately by return e-mail if you are not the intended recipient and delete all copies of the original message and attachments. 

This footnote also confirms that this message has been checked for computer viruses.

*




RE: [WSG] Ordered list mark-up

2004-06-07 Thread Bert Doorn
G'day

Well, the specs appear to have provision for it.  Unfortunately the vast
majority of browsers do not (yet) seem to support it.

!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0//EN
 HTML
HEAD
  TITLEContent alignment in the marker box/TITLE
  STYLE type=text/css
   LI:before { 
   display: marker;
   content: ( counter(counter,lower-alpha) ) ;
   counter-increment: counter;
   width: 3em;
   text-align: center;
   }
  /STYLE
   /HEAD
   BODY
 OL
   LI This is the first item.
   LI This is the second item.
   LI This is the third item.
 /OL
   /BODY
 /HTML

I've tested this code in Opera 7.5, MSIE 6, Mozilla 1.6 and Firefox 0.8.  
It worked only in Opera, where it displayed both the regular 1 and the
(a) like this:

  1. (a) This is the first item. 
  2. (b) This is the second item.
  3. (c) This is the third item.

(you'd need to set the ol's list-style to none, to suppress the numbers)

The others just showed a numbered list:

  1. This is the first item. 
  2. This is the second item.
  3. This is the third item.

Perhaps others have experimented with this and found a way for it to work in
other browsers.

Regards
--
Bert Doorn, Better Web Design
www.betterwebdesign.com.au
Fast-loading, user-friendly websites

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