Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to remove the Adobe border from an embedded PDF object?

Tags:

html

object

css

pdf

I'm trying to remove the standard PDF frame from an embedded PDF on my page. I'd like just the PDF to show up without the toolbar on top and thick black frame from the page. I don't want the print, save, or anything to effect the look of the page. Below is the code I am using:

<object data="update404.pdf" type="application/pdf" width="693" height="1130">
</object>

Thank you in advance for your help!

like image 422
Rummy Avatar asked Oct 25 '25 02:10

Rummy


1 Answers

Using object to embed PDF documents is not recommend - it will render different results in different devices and browsers and there is no way to make sure that it will look like you intend to. Have a look at the following projects for a better way to embed your project

PDF.JS https://github.com/mozilla/pdf.js

FlexPaper http://flexpaper.devaldi.com

like image 164
FlowPaper Team Avatar answered Oct 27 '25 16:10

FlowPaper Team



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!