3

I am using google docs viewer to show pdf in my zf2 website but while showing that in Iframe it automatically showing grey background.

Is there any way to remove that background.

HTML Code:

<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Fsamplepdf.com%2Fsample.pdf&embedded=true" width="400" height="780" style="border: none;"></iframe>

js fiddle : http://jsfiddle.net/Amit_Jadli/34zoyaba/5/

Please Help me on this,

Thanks in Advance,

Amit Jadli
  • 61
  • 10
  • 1
    Possible duplicate? http://stackoverflow.com/questions/6494721/css-override-body-style-for-content-in-iframe – NooBskie Sep 22 '15 at 08:30
  • @NooBskie thanks for reply, but that link doesn't working for me i had checked that solutions, as i am displaying pdf in iframe, i dont know how the css class adding to the iframe, may be it is from google side.. – Amit Jadli Sep 22 '15 at 08:47

0 Answers0