Add this after the theme file is included:

<style type="text/css">
  .ui-dialog-buttonpane { text-align: center; }
</style>

For full documentation on the dialog's theming classes, see:

http://docs.jquery.com/UI/Dialog/Theming

- Richard

On Fri, Oct 31, 2008 at 3:56 PM, crypto5 <[EMAIL PROTECTED]> wrote:

>
>
> Hi all,
>
> got some theme from theme roller and trying construct dialog using it.
> Used following code and got following picture:
> $("#register_div").dialog({
>                                modal: true,
>                                width: 400,
>                                height: 250,
>                                position: "center",
>                                title: "Registration",
>                                buttons: {
>                                        "Ok": function() {},
>                                        "Cancel": function() {}
>                                }
>                        });
> http://www.nabble.com/file/p20273900/dialog_buttons.jpg
>
> My question is: I'd like to have buttons on the center of button pannel(not
> aligned to right). How can I do that?
>
> Thank you!
> --
> View this message in context:
> http://www.nabble.com/Dialog-buttons-position-tp20273900s27240p20273900.html
> Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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