Thank you very much Nick and Mauricio for the responses. I should have thought to check out some specificity tables out there. Oh well, this issue and your responses sparked me to go study it for a little while and I think I have a pretty good grasp now.
Take care, JonMarc On 9/28/07, Mauricio Samy Silva <[EMAIL PROTECTED]> wrote: > > Hi JonMarc, > Add !important directive in order to increase the specificity of the > attribute selector. > Actually the ID seletor rule is overriding the attribute selector rule. > Regards, > > MaurĂcio Samy Silva > http://www.maujor.com/ > ---------------------------------------------------------------------- > ----- Original Message ----- > From: "JonMarc Wright" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, September 27, 2007 1:50 PM > Subject: [css-d] Question about attribute selectors > ... > > #accessBar {background-image: url(../images/shadow.gif); } > > [id="accessBar"] {background-image: url(../images/shadows.png); } > ------------------------------------------------------------------------ > > ______________________________________________________________________ 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/
