The UI project has taken a stance of using stylesheets and classes to
set CSS styles instead of setting inline styles via JavaScript.  We've
made a big push to remove all inline styles from our plugins, so it
will probably be hard to convince the team that this is a necessary
option.

On Jan 23, 12:21 pm, phicarre <[email protected]> wrote:
> I understand your proposition but I am obliged to modify the
> "standard" theme (Redmond theme from themeroller).
> I was waiting for an option of the dialog ...
>
> On 23 jan, 12:09, "Richard D. Worth" <[email protected]> wrote:
>
> > <style type="text/css">
>
> > .ui-dialog-title {
> >   float:none !important;
> >   display: block;
> >   text-align: center;
>
> > }
>
> > </style>
>
> > - Richard
>
> > On Fri, Jan 23, 2009 at 5:18 AM, phicarre <[email protected]> wrote:
>
> > > Hi,
> > > I am using the standard ui-dialog plugin (jquery-ui-
> > > personalized-1.6rc5.js).
> > > How can I center the title in this code ?
>
> > > $("#createDialog").dialog(
> > >        {
>
> > >            width: 415,
> > >            height: 280,
> > >            position:"center",
> > >            title:"creation",
> > >            resizable:false,
>
> > >            buttons: {
> > >            "Save":function(){creation();},
> > >            "Clearr":function(){$("#form1").each(function(){this.reset
> > > ();})}
> > >            }
> > >        }
> > >        );
--~--~---------~--~----~------------~-------~--~----~
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