Is your original markup before you create a dialog something like

<div id="dialog" title="Dialog Title">Dialog Content</div>

? If you then call $("#dialog").dialog() that will add the appropriate
markup (parent and sibling divs) and classes (ui-dialog, ui-dialog-content,
ui-dialog-buttonpane), none of which should have been added before. Without
seeing a full sample, I wonder if you have started with some other markup
perhaps.

- Richard

On Tue, Jan 27, 2009 at 8:28 AM, Jason <[email protected]> wrote:

>
> Thanks a lot Richard
> I didint change anything in jquery css files
> I downloaded jquery-ui-themeroller zip file. And copy them to project
> folder.
> In demo page on zip file dialog is ok. But in my project ive got
> borders on dialog.
> Thats why i seached for a mistake on my css'.
>
> I tried what you told me but no change.
> I add these lines after ui.theme.css it works
>
> <style type="text/css">
>  .ui-dialog-content { border: 0; }
>  .ui-dialog-buttonpane{ border: 0; }
> </style>
>
> Im still obsessed about why no problem on demo and problem on my
> project :)
>
>
>
> On 27 Ocak, 15:04, "Richard D. Worth" <[email protected]> wrote:
> > This default border is coming from ui.theme.css via
> >
> > .ui-widget-content { border: 1px solid #AAAAAA; }
> >
> > To override this, add the following after ui.theme.css
> >
> > <style type="text/css">
> >   .ui-dialog { border: 0; }
> > </style>
> >
> > - Richard
> >
> > On Tue, Jan 27, 2009 at 6:49 AM, Jason <[email protected]> wrote:
> >
> > > Hello,
> >
> > > I don't know why but theres a border on my dialogs which i couldnt get
> > > rid of.
> > > I deleted all my other css files. Now i have just;
> > > js/ui.core.css
> > > js/ui.dialog.css
> > > js/ui.theme.css
> > > js/ui.datepicker.css
> >
> > > and no change. still have a border on dialog.
> >
> > > I spend my all night to fix this issue but i couldn't :)
> >
>

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