Forum Moderators: open

Message Too Old, No Replies

Resize the iFrame in Opera

         

MarRup

10:57 pm on Jul 29, 2004 (gmt 0)

10+ Year Member



Hello everybody,

I have search a lot lately, but I cannot find a solution of having a iFrame that is changing in height according to the site loaded into it.

This problem was solved for IE and Mozilla in a former thread here:
[webmasterworld.com...]

Stil there is a question for Opera and maybe Safari in Mac. Well the Opera is of greater importance.

Is there anybody that has a thoungt why it is not working for Opera and is working for the others browser?

StupidScript

11:07 pm on Jul 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It sounds like you WANT the iframe to resize? Correct?

If that is the case, then Opera is behaving properly, and the others are not. According to the W3C specification (since HTML4):

"Inline frames may not be resized (and thus, they do not take the noresize attribute)."

[w3.org...]

MarRup

2:33 am on Jul 31, 2004 (gmt 0)

10+ Year Member



Don't really get where you're going with that. I know that you can't resize them, but you can with javascript change the attribute for the height and width. Well it's almost the same and I think it's not in place to talk about right or wrong for the different browser from a HTML 4 point of view.

I think that it should be possible in Opera, even if I can't find the solution for the moment.