Jump to content

Getting Pdf To Display Properly


Guest thoth

Recommended Posts

I'm trying to dislay a pdf in a div using this code <div class="centertext"> <h2>Mastering Astronomy Instructions</h2> <h3><a href="ma.pdf">Download Intruction as a PDF File</a></h3> <h4>If you do not see a PDF load in this screen <a href="index.php#ffpdf">Click Here</a></h4> </div> <object class "middle" data="ma.pdf" type="application/pdf" width="100%" height="90%"> </object> </div> It doesn't properly size itself, how do I get it to fit in the div totally?

Link to comment
Share on other sites

  • 2 weeks later...

Hmm, i think the best way to do this would be an iframe?

<html><body><iframe src="whatever.pdf" width="100" height="%100"></iframe></body></html>

I'm not sure if this is what you are asking for?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...