Tried a few Doctypes, to no avail.  Thanks for the suggestion.

I'm fine with negative values, but in the line in question, it's the
property minHeight that is set to either -47px or -23px.  Quite a
minHeight!  It seems to me the UI framework has some difficulty
calculating the actual height of the elements, or positions (I know it
has to do with the fact that the rendering parameters of elements
differ from browser to browser).

I've read many posts about the 'auto' height parameter, and it seems
at fault here.  If I get the actual height of the dialog element, add
a few pixels, and inject the value in the dialog creation code, I can
safely create dialogs as high as I want.  The width parameter may be
set to 'auto', or any value, the dialog box always respect the width
of the element.  The difficulty with injecting the actual height is
that the value can only be retrieved once, at the very first use of
the dialog.  Afterwards, the height value (using $(#elementId).height
()) is zero.  But wait!  Injecting zero + a few pixels as the height
dialog parameter value is good enough!  I suppose the jQuery coders
have put a safeguard against setting a value below the actual size of
the element.  IE and FF agree to fit the content to its size.  For
Firefox to comply with the actual height though, you do need to remove
the minHeight parameter.  IE doesn't care.

Reply via email to