Try not quoting the values:

$("#popup").dialog({ height: 400, width: 800 });

instead of:

$("#popup").dialog({ height: '400', width: '800' });

Hth,

Dave


On Apr 18, 4:54 am, Iain Galloway <[email protected]> wrote:
> I'm having a problem with the "width" option of the jquery ui dialog
> widget.
>
> I'm using jquery 1.3.2, and jquery ui 1.7.1.
>
> I'm opening a dialog with the following code:-
>
> $("#popup").dialog({ height: '400', width: '800' });
>
> In IE7 (7.0.5730.11) this is displaying correctly, however in Firefox
> (3.0.8) the "width" CSS attribute of the dialog is not being set. See
> below for an example:
>
> http://www.iaingalloway.com/DialogTest.htm
>
> I expect I'm doing something obvious wrong. Could someone give me a
> hand?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to