Iframe

iframe height resizing solved

I ran into the same problem, but had a play with the iframe syntax, and it turns out that you can resize height if you put the argument for height (in pixels) BEFORE the argument for pixel width.

(This is the opposite way around to the usual iframe syntax that lists width first, THEN height)

So, for example, this will resize height:

<iframe src="your_url_here"height="400" width="600"></iframe>

While this won’t:

<iframe src="your_url_here"width="600" height="400" ></iframe>

Hope that helps!

2 Likes