Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Adjust width height of iframe to fit with content in it

3174772Apr 29 2016 — edited Apr 29 2016

Hi experts,

I am using jdeveloper 12.2.1 version..

I need solution for auto adjusting the width and height of an iframe to fit with the content in it.

Now i am writing :

<iframe data-bind="attr:{src : srcPath}" style="height:600px;width:100%;border:none"  id="if1"></iframe>

but i want height also in % not in px.

Can anyone help me out !!

Regards

Chinmayee

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2016
Added on Apr 29 2016
1 comment
956 views