openhtmltopdf
openhtmltopdf copied to clipboard
List not aligned correctly
I use the last tagged version. It seem like there is an issue with the margin-left.
I think the both list should be localed like text: More than 1 kids
Picture of the generated pdf https://pasteboard.co/XHyUcjBOlzPy.jpg
Code
<html>
<head>
<title></title>
<style>
@page
{
size: letter portrait;
}
.new-page{
page-break-after:always;
}
@font-face {
font-family: 'Liberation Serif, serif';
}
ul{
margin-left:0;
}
ol{
margin-left:0;
}
</style>
</head>
<body>
<ul>
<li>Test1</li>
</ul>
<ol>
<li>Test2</li>
</ol>
<div>More than 1 kids</div>
</body>
</html>
I also it seem impossible to set the space between the bulet (or number) with the text.