Mansour wrote: > I am wondering if there's a way to select an element that does not > have the specified attribute set?
In CSS, yes... <http://www.w3.org/TR/css3-selectors/#negation> ...so this... h1:not([style]) {color: red;} ...will "color" all h1 that do *not* contain a style attribute "red" in all CSS3 capable browsers. But in IE, no luck this decade, it seems. regards Georg -- http://www.gunlaug.no ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
