html - Making an IFrame unresizeable -


i have iframe, displays part of website, , blocking scrolling option. here is:

   <div style="overflow: hidden; margin-top: -205px; margin-left: -25px;">    </div>    <iframe src="http://yahoo.com" scrolling="no" style="height: 290px; border: 0px none; width: 290px;                                    margin-top: -55px; margin-left: -99px; ">    </iframe>    </div>    </div> 

the problem is, when resizes(zooming in or out) website ctrl + scrolling wheel of mouse, viewable part of iframe changes , people can see other parts aren't supposed to. trying making viewable part of iframe unzoomable though user changes zooming of actual site. tried working %, didn't me.

a working example of trying this:

    <img src="something.jpg" width="50%" height="50%">, 

where no matter how user zooms out , in, picture never changes size.

any solutions appreicaited.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -