OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: assign a class to a list


I have an orderedlist that I want to assign a class to...because I
want to reverse the numbering with CSS (unless there is a way to
reverse numbering with markup).

<orderedlist>
  <listitem><para>Five</para></listitem>
  <listitem><para>Four</para></listitem>
  <listitem><para>Three</para></listitem>
  ...
</orderedlist>


<ol class="priorities">
  <li><p>Five</p></li>
  <li><p>Four</p></li>
  <li><p>Three</p></li>
  ...
</ol>

so the output would be viewed as:

  5. Five
  4. Four
  3. Three
  2. Two
  1. One


-- 
Anthony Ettinger
Ph: 408-656-2473
var (bonita, farley) = new Dog;
farley.barks("very loud");
bonita.barks("at strangers");

http://chovy.dyndns.org/resume/
http://utuxia.com/consulting


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]