Why aren't you just dealing with this server side and generating the
desired classes and tags there? CSS needn't be show horned into doing
this kind of work.

If it were only client side code, just hand craft it and your done. If
the list is dynamic, then you have a server and it should be generating
the id's for you.

Lucien.

-- 

Lucien Stals
Multimedia/Web Developer
Academic Development and Support
Swinburne University of Technology
PO Box 218 Hawthorn, 3122, Australia
email: [EMAIL PROTECTED]
telephone: +61 3 9214 4474
office: AD223


>>> On 18/05/2007 at 4:33 pm, Mordechai Peller <[EMAIL PROTECTED]>
wrote:
> Patrick H. Lauke wrote:
>> Quoting Paul Collins <[EMAIL PROTECTED]>:
>>
>>> I recently had to add numerical bullet point graphics to an OL. 
>>
>> Unfortunately there's nothing you can do at this point.
>>
>> CSS 3's nth-child pseudo selector 
>> http://www.w3.org/TR/css3-selectors/#nth-child-pseudo would help,
but 
>> current browser support is negligible or non-existent, if memory 
>> serves me right.
> Nth-child would save on adding all those extra classes, but not the
CSS. 
> Also, as you point out, support isn't great. There is some support, 
> though, namely Konqueror. However, the news isn't all bad.
> 
> The good news is there's a method supported by around 50% of the
market, 
> including IE7: direct adjacent ("+"). Regarding IE6, fortunately its

> days are numbered and should be gone in no time (at least in
geological 
> terms). To get IE6 to play along, you'll need to use JavaScript and a

> conditional comment.
> 
> Which is worse: JS for IE6 or all those extra classes and the
potential 
> maintenance nightmare saddled with it? I'll leave that for you to
decide.
> 
> Another way to deal with IE6 is to feed it plain numbers. This can be

> done in at least 3 ways: conditional comments, "* html", or
overriding 
> the numbers with direct descendant (">").
> 
> 
> *******************************************************************
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm 
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm 
> Help: [EMAIL PROTECTED] 
> *******************************************************************

Swinburne University of Technology
CRICOS Provider Code: 00111D

NOTICE
This e-mail and any attachments are confidential and intended only for the use 
of the addressee. They may contain information that is privileged or protected 
by copyright. If you are not the intended recipient, any dissemination, 
distribution, printing, copying or use is strictly prohibited. The University 
does not warrant that this e-mail and any attachments are secure and there is 
also a risk that it may be corrupted in transmission. It is your responsibility 
to check any attachments for viruses or defects before opening them. If you 
have received this transmission in error, please contact us on +61 3 9214 8000 
and delete it immediately from your system. We do not accept liability in 
connection with computer virus, data corruption, delay, interruption, 
unauthorised access or unauthorised amendment.

Please consider the environment before printing this email.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************
BEGIN:VCARD
VERSION:2.1
X-GWTYPE:USER
FN:Lucien Stals
TEL;WORK:4474
ORG:;Academic Development and Support
EMAIL;WORK;PREF;NGW:[EMAIL PROTECTED]
N:Stals;Lucien
END:VCARD



*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to