[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: XML CSS Ordered lists and Mozilla
Hi I'm displaying my XML using CSS in Mozilla (IE is useless for this work) with some success but am having trouble getting <orderedlist>s to display with: <?xml version = "1.0" encoding = "UTF-8"?> <?xml-stylesheet type="text/css" href="css/docbook.css"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" "docbookx.dtd" []> <book> <preface> <title>Preface</title> <itemizedlist mark = "opencircle"> <listitem><para>b1</para></listitem> <listitem><para>b2</para></listitem> <listitem><para>b3</para></listitem> </itemizedlist> <orderedlist numeration = "arabic"> <listitem><para>arabic1</para></listitem> <listitem><para>arabic2</para></listitem> <listitem><para>arabic3</para></listitem> </orderedlist> </preface> </book> where docbook.css contains: itemizedlist {display: block;} itemizedlist[mark="opencircle"] listitem{ margin-left: 25pt; display: list-item; list-style-type: circle;} orderedlist{display: block;} orderedlist[numeration="arabic"] listitem { margin-left: 25pt; display: list-item; list-style-type: decimal; } My itemized lists work fine (so I guess my code syntax is correct) however my ordered list items all come out as 0., 0., 0. rather than 1., 2., 3., Anyone got any suggestions? Cheers P.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]