Thanks for the info. I guess the following is the proper way to reset counters (and many other properties) using CSS in HTML 4.x. I've used pieces of this before but never the before/after/marker psuedo-elements.
http://www.w3.org/TR/2002/WD-css3-lists-20021107/#introduction Here is an example I found on anther listserv: ol::before, ul::before { content: "" /* or a new value that's better */; counter-reset: list-item; } ol[start]::before { conter-reset: list-item attr(start); } li { counter-increment: list-item; } li[value] { counter-reset: list-item attr(value); } - John ************************************************** John Callahan Geospatial Application Developer Delaware Geological Survey, University of Delaware 227 Academy St, Newark DE 19716-7501 Tel: (302) 831-3584 Email: [email protected] http://www.dgs.udel.edu ************************************************** David Huynh wrote: > John Callahan wrote: > >> For labeling ordered lists, you can do something like... >> >> <ol> >> <li value="25">labeled as 25 >> <li>labeled as 26 >> <li>labeled as 27 >> </ol> >> >> >> For the Thumbnail view, I was thinking exactly the same thing. In >> this case, a table may work better and may be more appropriate since >> it contains a listing of objects. Of course, you could alter the CSS >> of the divs to make it work; table would be easier. >> > I actually didn't know about value in li, but I just searched for it and > it seems to be deprecated. > > http://www.w3schools.com/TAGS/tag_li.asp > > Otherwise, it would have been a great solution. > > David > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
