views:

184

answers:

0

I am using Yahoo Editor for my asp.net mvc (C#) application.

When i tried to use the iframe, its ripping of the complete html. It works in Chrome, but not in Firefox and IE.

I have tried pasting the below html in http://developer.yahoo.com/yui/examples/editor/code_editor.html.

<iframe src="http://www.google.com" width="100%" height="300">
      Your browser does not support iframes
</iframe>

Its worked in Chrome, but its not showing up in Firefox and IE. And in my application, when i come back to the editor page, its not showing the iframe in chrome too, which is supposed to show the html with iframe.

And in Chrome, it rips off the closing div tag, but works in Firefox and IE.

Any fix for this problem?