Xportability / css-to-pdf

Convert any HTML page or region to PDF - supports CSS, SVG, embedded XML objects, and more..
http://www.cloudformatter.com/CSS2Pdf
207 stars 77 forks source link

Bootstrap grid not rendering #82

Open qianhaopower opened 6 years ago

qianhaopower commented 6 years ago

Hi @kbrown01, Thanks for the great library, it is really helpful and easy to use. I am facing an issue that bootstrap grid is not rendering. I have tried debug the getFormTextData method. The content from the 'data' variable renders properly if I copy it into a html file. It is the PDF that is ignoring the grid system.

This is the data variable: https://s3-ap-southeast-2.amazonaws.com/public-hao-bucket/data.txt

This is how the data variable renders, note the grid is rendering https://s3-ap-southeast-2.amazonaws.com/public-hao-bucket/data.html

This is how the pdf looks. Note the grid is not rendering. image

Is there any hint you can give to help find out why the grid is not there in the pdf? Thank you. Regards, Hao