I am using a PHP script to take information from an ATOM Feed (XML Format) to display available jobs. I am then using the below iframe to display these using the custom HTML widget on a wordpress page. What I can’t figure out is how to **make the iframe dynamically lengthen with the amount of jobs in it as it goes beyond the dimensions.** Currently it seems to have an invisible scroll bar – and that I can’t even make visible regardless of what css I throw in the page. This sub has been beyond helpful.
`<iframe src=”https://bgdcdistribution.com/Operations.php” style=”width: calc(100% – 1.25rem); height: 500px; border: none; padding-left: 0.625rem; padding-right: 0.625rem; display: block; margin: 0 auto;”></iframe>`
[ad_2]
To anyone with a similar issue ever I believe I solved it. I took out the iframe altogether and added the PHP as a code snippet.