PDF not opening to correct/required size in Web Object

Hi guys,

I am embedding a PDF in a web object on a slide but it is opening to the size of a postage stamp rather than filling the web object dimensions.

I have a folder with both the PDF and an index.html file with the below code...

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Code of business conduct document</title>
</head>

<body>
<object data="Code of Business Conduct.pdf" type="application/pdf" width="100%" height="100%">
<p><b>Code of Business Conduct</b>: This browser does not support PDFs. Please download the PDF to view it:

<a href="https:TheURLisinhere.pdf">Download PDF</a>.</p>

</object>

</body>
</html>

When I test the link it opens full screen. When I publish it, it looks like this...

Small PDF

Does anyone know why this might be happening?

Thanks!

Ian

1 Reply