How to change the height of an iframe? #939
Answered
by
schulle4u
digi-tales
asked this question in
Ask a question
-
I tried to add an iframe, but I can only change the width. The height remains always the same. I use the stockholm-theme and the html-file is a h5p converted to html. It shows correctly but is cropped or way too small.
|
Beta Was this translation helpful? Give feedback.
Answered by
schulle4u
Feb 22, 2024
Replies: 1 comment 3 replies
-
You can try to enter the height in pixels, e.g.
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As an alternative you can use the viewport height to style the iframe, this should automatically resize it according to it's content.
HTH 🙂