Re: [css-d] What should the selector be?

2005-11-21 Thread CJ Larson
Your problem stems from the rule stating that id/class names must begin with an alphabetical character I believe. Try changing your id of "2-1" to "id2-1" or along those lines. When I do this on your page, the "what's right for me" turns white with a red background instead of the default of the

Re: [css-d] What should the selector be?

2005-11-21 Thread David Dorward
On 21/11/05, Arnold Gregory <[EMAIL PROTECTED]> wrote: > Should not: body#2-1 li#2-1 a:link { } select the link inside an > with an id="2-1" even if is nested in another ul and another parent div? Since an id cannot begin with a number, it shouldn't match anything. I suggest you start by runn

[css-d] What should the selector be?

2005-11-21 Thread Arnold Gregory
I am trying to style a menu to designate the current page. I am sure I have seen this done by making the a child of the body which is given a different id, depending on the menu item you want to style. It is a dynamic menu with nested lists. I have tried several selectors, including selectors w