Page 1 of 1

Questioin on HTML Object

Posted: Sat Mar 27, 2021 2:31 am
by ghines
Hi all,

I have an HTML object in a Layout Grid that looks like this:

Image

The HTML objects height will change height depending on the number of items returned. So my question is, how do I make the HTML object always fill the layout grid? Or, should I not be using a layout grid.

TIA

Greg

Re: Questioin on HTML Object

Posted: Sat Mar 27, 2021 6:56 am
by Pablo
The HTML code will be inserted "AS IS", so if the HTML is not responsive or full width then the software will not change this.

Re: Questioin on HTML Object

Posted: Sat Mar 27, 2021 4:52 pm
by onlye
In jotform under PUBLISH>PLATFORMS try selecting iframe and using that code instead of the js code. In the iframe code you can alter the height and width. i check several of my site and I am using style="width:70%; height:100%;

you could also use a different HTML container in variants and change the size for those variants if needed.

Re: Questioin on HTML Object

Posted: Sat Mar 27, 2021 9:02 pm
by ghines
onlye wrote: Sat Mar 27, 2021 4:52 pm In jotform under PUBLISH>PLATFORMS try selecting iframe and using that code instead of the js code. In the iframe code you can alter the height and width. i check several of my site and I am using style="width:70%; height:100%;

you could also use a different HTML container in variants and change the size for those variants if needed.
Thank you very much, that worked really well.