I have a Div consists of an iframe to display a pdf. I just want to safe my pdf by putting up a transparent image over the iframe. So that nobody can download the pdf. I am using following code :
<div id="tobecovered">
<p>your content...</p>
<img src="./img/transparent.png" class="cover" />
</div>
div#tobecovered{
position: relative;
}
div#tobecovered img.cover{
position: absolute;
/* position in top left of #tobecovered */
top: 0; /* top of #tobecovered */
left: 0; /* left of #tobecovered */
}
Its working fine in Chrome but not working in Mozilla Firefox. Can anybody help ?