I am using a static html widget to insert an iframe as part of a layout in vbcms 4.0.3.
However, I have hard time trying to make the iframe to resize dynamically depending on the user screen resolution.
This is my code corresponding to my good resolution.
However, when i use a better resolution, i got this (the iframe does not resize automatically):
And so, with a lower resolution, the content is just split and i have to use scrollbars.
Hence, I have changed the iframe code and exchange the px with % like following:
but here is what I got:
Would you have any idea how to fix this? so that the iframe widget dynamically resize to its content and fit well into the vbulletin cms?
Best and thank you for your help and time!
Xavier
However, I have hard time trying to make the iframe to resize dynamically depending on the user screen resolution.
This is my code corresponding to my good resolution.
HTML Code:
<iframe src="http://synbioworld.org/formboss/output/forms/igem/igem.php" height=1704 width=1342 frameborder="0" scrolling="yes" ALLOWTRANSPARENCY="true"></iframe>
However, when i use a better resolution, i got this (the iframe does not resize automatically):
And so, with a lower resolution, the content is just split and i have to use scrollbars.
Hence, I have changed the iframe code and exchange the px with % like following:
HTML Code:
<iframe src="http://synbioworld.org/formboss/output/forms/igem/igem.php" height=100% width=100% frameborder="0" scrolling="yes" ALLOWTRANSPARENCY="true"></iframe>
Would you have any idea how to fix this? so that the iframe widget dynamically resize to its content and fit well into the vbulletin cms?
Best and thank you for your help and time!
Xavier