Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using jQuery UI to style a div

Tags:

jquery-ui

I have the jQuery UI "smoothness" theme and I would like to use the "look" to style divs on my page. E.g. apply the gray, shaded, rounded-corner effect to a regular div that ISN'T an accordion, button, etc.

I thought it would be easy! Perhaps it is?!

Thanks!

like image 670
jqwha Avatar asked Feb 25 '23 00:02

jqwha


1 Answers

Have a look at jQuery UI themeroller. You can select an existing theme or customize one, then using Chrome or Firefox/Firebug, for example, Right-clickInspect element and copy the class names.

ui-widget, ui-widget-content and ui-corner-all are the most likely class names you will be looking for.

like image 175
andyb Avatar answered Mar 08 '23 04:03

andyb