1.

Solve : pdf file in html?

Answer»

I gave a link  to a pdf file in my website.....i want that when anyone click on this link from anywhere then this pdf file OPEN with fit to page....not in any other ratio...............PDF files CONTAIN within themselves a suggestion on how to view the PDF when opened.  So before SAVING the PDF, you can choose the "fit to page" viewing option (if you created the PDF yourself).  Then the PDF VIEWER or PDF browser plugin will probably load the file as you desire.

If you don't have control over the setting within the PDF document, you're at the mercy of the the behaviour of the PARTICULAR plugin the user has installed in the browser.  There are a few programmatic ways to work around this.  Further reading:

http://andreasgal.com/2011/06/15/pdf-js/
http://www.planetpdf.com/mainpage.asp?webpageid=1682
http://www.webhostingtalk.com/showthread.php?t=1001514



Discussion

No Comment Found