I have a jQuery dialog box that is meant to position in the middle of the screen. However, it seems slightly off-center vertically.
Here is the code:
Add this to your dialog declaration
my: "center", at: "center", of: window
Example :
$("#dialog").dialog({ autoOpen: false, height: "auto", width: "auto", modal: true, position: { my: "center", at: "center", of: window } })