District Site

410 Central Ave. N.
New Prague, MN 56071

phone: 952-758-1700
fax: 952-758-1799

Menu

Embedded PDF Test

This browser does not support PDFs. Please download the PDF to view it: Attendance Boundary Policy 550.


The Code

The following code will need to be added into the content area of your page while it is in "Embed code" format. Adjust the width (as a percentage of the width of the page) of the container, know as the <div> tag, to add or eliminate having to scroll the document. The padding-bottom attribute should be the width percentage of 130% (calculated by dividing 11 by 8.5). If your document takes up 100% of the page width, use 130% for padding-bottom. If the width is 90%, padding-bottom should be 117% (90% of 130%). If the width is 80%, padding-bottom should be 104% (80% of 130%).

Change the title, data (URL of the document, external documents shouldn't be used), and name in the <object> tag where appropriate. Do not change width or height as they should fill the container (<div> tag) completely.

The href property of the <a> tag should be the same as data in the <object> tag, and the link text (between <a href...> and </a>) should be edited as well.

The full code follows below:

<div style="height:0; width:90%; margin-bottom:18px; overflow:hidden; padding-bottom:117%; padding-top:30px; position:relative;">
<object style="width:100% !important; height:100% !important; left:0; position:absolute; top:0;" title="Policy 550" data="http://www.npaschools.org/sites/default/files/550.pdf" type="application/pdf" name="Attendance Boundary Policy">
This browser does not support PDFs. Please download the PDF to view it: <a href="http://www.npaschools.org/sites/default/files/550.pdf">Attendance Boundary Policy 550</a>.
</object>
</div>