Problem with Dialog in Chrome

Problem with Dialog in Chrome

Hi All

I am using the Dialog widget in my application using the following command:

  1.  var opts = {
  2.         title: "My Dialog",
  3.         modal: true,
  4.         height: 700,
  5.         width: 800
  6.     };
  7.       
  8. odialog = $('<div id="newdivid"><iframe width="100%" height="100%" id="randomid"></iframe></div>').dialog(opts);

  9. $( "#randomid" ).attr("src",curl);
In the above code, "randomid" and "newdivid" are randomly generated.

The dialog opens properly in IE with the correct width and height. But doesnt come correctly in Chrome.

What could be the problem?

Thanks in advance

Pinaki