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

Problem using pageMediaResource #5

Closed joaocosta-azores closed 8 years ago

joaocosta-azores commented 9 years ago

Hello,

I'm having problems using the pageMediaResource option.

I can print the div but the css seems to having no effect.

onclick="return xepOnline.Formatter.Format('print-article0',{pageMediaResource:http://test.dev/assets/css/article.min.css});"

Thanks in advance

kstubs commented 9 years ago

Joao,

There could be many things going on here. Depending on how complex your HTML is, and several other factors, its hard to help without asking of you to strip this down to a basic example to see if that works. Have you tried this approach? If so, can you provide simple HTML sample or jsFiddle? Karl..

On Wed, Apr 1, 2015 at 5:03 AM João Costa notifications@github.com wrote:

Hello,

I'm having problems using the pageMediaResource option.

I can print the div but the css seems to having no effect.

<#msg-f:1497250990693496437_>

Thanks in advance

— Reply to this email directly or view it on GitHub https://github.com/Xportability/css-to-pdf/issues/5.