Forum Bugs

Lists Rendering Problem

dhollenbeck
PrinceXML renders order lists (<ol>) differently than in Chrome and Edge. Specifically, the list marker in PrinceXML is rendered outside of <ol> border, while in browsers the list marker is rendered inside of <ol> border. This causes problems when indenting order lists.
  1. input.html1.1 kB
  2. output.pdf24.3 kB
  3. output.png3.4 kB

Edited by dhollenbeck

dhollenbeck
The solution is to specify css of
ol {padding-left: 40px;}
which is Chromes default user agent style. This css setting should be considered for inclusion in style\html.css.

Edited by dhollenbeck