Table border shown in wkhtmltopdf

535 views
Skip to first unread message

Peter Moser

unread,
Feb 18, 2020, 3:06:36 AM2/18/20
to wkhtmltopdf General
Hi,

I use WKHTMLTOPDF to generate a pdf. On my page, I have a table with no border. In the browser everything is fine. Example of table:

<table class="noborder" border="0">
   
<tbody>
       
<tr class="noborder">
           
<th colspan="2" class="noborder">MyHeader</th>
         
</tr>
     
</tbody>
</table>


CSS: Noborder:

.noborder {
    border
: 0px solid black;
}

But in the generated PDF there are the borders.

Version: wkhtmltopdf 0.12.4 (with patched qt)
Ubuntu 18

What am I doing wrong?

Best regards, 
Peter
Reply all
Reply to author
Forward
0 new messages