I am trying to add a PDF that will automatically display. It works in Firefox and Explorer, but not in Chrome. Additionally, I cannot manipulate the height--any ideas on this?
HTML:
<center> <div class="pdf">
<object data="pdf.pdf" width="600px height="5000px"
type="application/pdf"> <p> You don't have a functional browser. </p> </object>
CSS:
.pdf {
height: 100%;
width: 100%;
margin: 2em auto;
border: 5px solid #FFFFFF;
}
.pdf p {
padding: 1em;
}
.pdf object {
display: block;
width: 100%;
height: 100%;
border: solid 1px #666;
}