Rank: Member Groups: Member
Joined: 7/21/2011 Posts: 12
|
Hi,
is it possible to style e.g. a button with the CSS media="screen" so that the button ist visible in the html page but not in the PDF?
Best regards, Harry
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
No. Html to PDF is not "printing" the HTML file. The goal of the converter is to render the HTML file to a PDF the same way as it would have been rendered on screen. If you wish the output PDF to be different, then your HTML has to be different. For example, one way to do it is to add additional query string argument so that your server side code can hide/show the button based on the argument.
Thanks!
|