That worked! Thanks!! Tony
-----Original Message----- From: Gunlaug Sørtun <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: css-d@lists.css-discuss.org Sent: Mon, 8 Oct 2007 1:03 pm Subject: Re: [css-d] Changing Width [EMAIL PROTECTED] wrote: > <li id="AB"><a href="whatever"><img src="whatever"></a></li> Now, I'd like to write code specific to that id "AB" that changes the width and max-width elts. Easy if you know what you're doing, but I clearly don't :( Can't see what you're doing without a live example / page. It may be a case of specificity[1], or that you are tearing the ID lose rom its element and addressing it wrongly, in the stylesheet. Your example... .AB li { ...won't work because there's no li inside AB - AB _is_ the specific li. ou're also using an ID in the source-code and a class in CSS, and that on't target anything. The following... #TJK_dropDownMenu li#AB { width:2.23em;? max-width:2.5%; ...will target the li with an ID="AB", and nothing else. It also has igh enough specificity to override the general styling for TJK_dropDownMenu li. regards Georg [1]http://www.w3.org/TR/CSS21/cascade.html#specificity - ttp://www.gunlaug.no _____________________________________________________________________ ss-discuss [EMAIL PROTECTED] ttp://www.css-discuss.org/mailman/listinfo/css-d ist wiki/FAQ -- http://css-discuss.incutio.com/ ist policies -- http://css-discuss.org/policies.html upported by evolt.org -- http://www.evolt.org/help_support_evolt/ ________________________________________________________________________ Email and AIM finally together. You've gotta check out free AOL Mail! - http://mail.aol.com ______________________________________________________________________ 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/