I need to add a 2 pixel border around the JQuery ui-dialog.
Could anyone help on what to modify please?
Thanks
Change the CSS rule for .ui-widget-content
:
.ui-widget-content {
border: 2px solid #DDD;
}
The least intrusive way to do this is to add that rule to your site's stylesheet (e.g. don't change the jQuery UI CSS file), and make sure that the jQuery UI CSS file is loaded first.
To put a border around the dialog box, but not any other widget type, do this:
.ui-widget-content.ui-dialog
{
border: 2px solid #DDD;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With