Inline frame

On a website we are working on I have to embed an inline frame for a payment gsateway on a suppliers site (not an ideal way of doing things but needs must
https://www.healinglight.co.uk/booking-form/
As you can see its correct width but I cant seem to set the height 0 needs to be about 640px (ish)
Suggestions please :slight_smile:

Hi Richard,

Based on the iframe you have it will be like below with the width and height:

<iframe width="560" height="640" src="https://cc.inveroak.co.uk/bookings/healinglight.aspx" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>

Setting a height like that means it is fixed and not responsive. By default iframe is not responsive. Check this guide to make it responsive.

Hope this helps.

thank you Lely

Unfortunatley the element we are embedding isnt responsive :slight_smile:

Thanks for your Help :slight_smile:

Glad we could help.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.