PDF Inline HTML working but not CSS background-color
Posted: 07 May 2015, 10:23
Hi there,
I am new to Phoca PDF. I'd tried searching the forum but can't find this topic.
I'm trying to print an article where there are HTML tables. There are different background-color for different cells (td). When I tried with CSS background-color, it doesn't appear in the generated PDF. But if I use td inline style for background-color it works.
Please guide me to make the CSS background-color work.
Also, the tables are 'responsive' on a bootstrap template. I use percentage for td while using pixels for table height and width. When the PDF is generated, the tables become small size. How do I specify the measurements?
Thank you!
I am new to Phoca PDF. I'd tried searching the forum but can't find this topic.
I'm trying to print an article where there are HTML tables. There are different background-color for different cells (td). When I tried with CSS background-color, it doesn't appear in the generated PDF. But if I use td inline style for background-color it works.
Please guide me to make the CSS background-color work.
Also, the tables are 'responsive' on a bootstrap template. I use percentage for td while using pixels for table height and width. When the PDF is generated, the tables become small size. How do I specify the measurements?
Thank you!