imagocreative Posted May 19, 2022 Share Posted May 19, 2022 Site URL: https://www.fhcmoms.org/application-new I put a code box on this page: https://www.fhcmoms.org/application-new and pasted this FORMSTACK form code in: <div id="iFrameWrapper"><div id="ffDialog"></div><div id="ffLookupDialog"></div><iframe frameborder="0" scrolling="no" name="ffEmbedFrame" id="ffEmbedFrame"></iframe><script type="text/javascript">function FFSetIframeSize(t,e){var n=document.getElementById("ffEmbedFrame");n.height=t,n.width=e}var i=document.getElementById("ffEmbedFrame");i=i.contentWindow?i.contentWindow:i.contentDocument.document?i.contentDocument.document:i.contentDocument,i.document.open(),i.document.write('<script type="text/javascript" id="jsFastForms" src="https://sfapi.formstack.io/FormEngine/Scripts/Main.js?d=mQE4mV_9F6iAsrmbKmk9F-0ICjHbfzbGm3-gCn6ekKKYigNqH-S4Ru_Du8aozyhy"></' + 'script>'),i.document.close();</script></div> It displays as a narrow box and I can’t figure out how to change it to display the width of the page. I tried pasting this same code on a couple of other squarespace sites I manage and it does the same thing. Link to comment
tuanphan Posted May 20, 2022 Share Posted May 20, 2022 Add this code into Code Block <style> div#block-yui_3_17_2_1_1651257403627_5349 iframe { width: 100% !important; } </style> imagocreative 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment