views:

137

answers:

1

I am trying to put auto height and width to modal dailog box (provided by jquery UI). But some how the position of my dailog is getting disturbed. it is not coming in center. Everytime i click on the link to open the dailog box , the dailog opens at different position. Could anybody please suggest how to resolve this issue...

A: 

u can main div

{ margin:0 auto; } or { margin:auto auto; }

==========

Othervise u can set a left and top javascript dailog box position set...

thanks suresh

suresh