This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 4
Inline CSS in iframe
Started 10 years ago by Dialoguenet | 2 posts |
-
Hi, I try to control the height of my form embedded with the JS code. I know that I can control it with that variable : var __machform_height = 279;
But the height I set is erased by the inline CSS added to the generated iframe HTML tag (style="width: 100%; border: none; height: 521px;")
How can I control this hi level CSS height?
There is the generated code :
<iframe height="279" frameborder="0" src="https://domaine.com/formulaire/embed.php?id=16234"><a href="https://domaine.com/formulaire/embed.php?id=16234">View Form</a></iframe>
Posted 10 years ago # -
When you are using the javascript code, the script will override any height indeed. If you need to set a fixed height, you'll need to use the iframe code.
MachForm Founder
Posted 10 years ago #
Reply
You must log in to post.