Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

WebApp: Embedding a PDF

Hello! I don't have a apple dev's account to access the dev forum.

I have a question about developing web pages for the iPad.

If I wish to embed a PDF file, should I use the <object> tag?

Right now I have:

<object data="pdftest.pdf" type="application/pdf" width="100%" height="100%">alt : test.pdf</object>

My problems are:

• that the object doesn't grow as high as the PDF
• the PDF doesn't grow to the full width of the object element

How do I get the height of the PDF so I can set the height of object to other than 100%?

How do I force the width of the PDF?

Kind regards
/Adrian vG

MacBook Pro 17", Mac OS X (10.5.7), 2.5 GHz

Posted on Aug 25, 2010 3:16 AM

Reply
2 replies

WebApp: Embedding a PDF

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.