Hi, I use PD4ML 3.70 and found one problem - if there is a single comma ['] in CSS part and another one in page body, output PDF document will be blank.
I paste sample HTML code here. It has 2 single commas.
If you'll remove one of them, PDF document will be produced, otherwise it will be blank.
Code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>A Plus Payroll Document</title>
<style type="text/css">
<!--
body {
font: 100% Calibri, Calibri, Calibri, sans-serif;
background: #FFFFFF;
margin: 0; /* it's a test */
padding: 0;
height:100%;
text-align: center;
color: #000000;
}
.oneColFixCtrHdr #container {
width: 720px;
background: #FFFFFF;
margin: 0 auto;
border: 1px solid #000000;
min-height:100%;
height:100%;
position:relative;
text-align: left;
}
.oneColFixCtrHdr #header {
background: #FFFFFF;
}
.oneColFixCtrHdr #body {
background: #FFFFFF;
padding:0 20px;
padding-bottom:60px;
}
.oneColFixCtrHdr #header h1 {
margin: 0;
padding: 10px 0;
}
.oneColFixCtrHdr #mainContent {
padding: 0 20px;
background: #FFFFFF;
}
.oneColFixCtrHdr #footer {
position:absolute;
bottom:0;
width:720;
height:60px;
background:#FFFFFF;
}
.oneColFixCtrHdr #footer p {
margin: 0;
padding: 10px 0;
}
.style2 {font-size: small}
.style3 {
font-family: Calibri, Calibri, Calibri, sans-serif;
font-size: smaller;
}
.style9 {font-family: Calibri, Calibri, Calibri, sans-serif; font-size: x-small; }
.style11 {
color: #000000
}
.style12 {
font-family: Calibri, Calibri, Calibri;
font-size: x-small;
color: #000000;
}
.style13 {
font-family: Calibri, Calibri, Calibri;
font-size: smaller;
color: #000000;
}
-->
</style></head>
<body>
<table width=400>
<tbody>
<tr>
<td>W-2's and Electronic Filing Base Fee</td>
<td>$opportunity.w2_base_fee_1725915001</td>
</tr>
</tbody>
</table>
</body>
</head>
</html>
I used old version of PD4ML before, and it was working without any problem.
Could you please fix it or explain why it doesn't work?