Recently, I've been tweaking the CSS for the selectMenu UI plugin in jQuery.
I have a specific file where all my CSS styles are stored. My goal is to include this file on every page request but restrict its application only to my select menus, not other jquery UI elements.
Any ideas on how I can achieve this?
To do this, I've assigned a class named "myClass" to the link container and wrapper span containing the UL. Here's an example:
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
border: 1px solid #DDDDDD;
color: #a8a8a8;
font-weight: bold;
}
What modifications should I make to this class so it only impacts elements within the "myClass" div?