On 25/01/06, Jim Ryan <[EMAIL PROTECTED]> wrote: > How flexible are wildcards in CSS?
CSS doesn't have wild cards. The * character is a universal selector, which matches any element, it isn't a wild card. > suppose if I have a series of dynamically created rightnav list items styled > like so: > .dynamic_rightnav-1 li{border:1px dotted red;} > .dynamic_rightnav-2 li{border:1px dotted red;} > ...and so forth > > can I use the wildcard > .dynamic_rightnav-* li{border:1px dotted red;} No. > or is there another way to do this to accomodate elements being created on > the fly? <div class="navigation right" id="nav-one"> *.navigation.right { border: 1px dotted red; } #nav-one { ... } -- David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/