Re: [WSG] Help with css cascade problem from external style to internal style

2007-06-06 Thread JS Bracher
The magic of asking for help. 17 seconds after I sent the email, I saw the problem and fixed it. Thanks for just being here. ;) *** List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe:

Re: [WSG] Help with css cascade problem from external style to internal style

2007-06-06 Thread John Faulds
style type=text/css #every_page #index, #every_page #index:hover { color: #4F; background: #003173; cursor: default;} /style should do it (you're also missing the # from index:hover). On Thu, 07 Jun 2007 13:40:35 +1000, JS Bracher [EMAIL PROTECTED] wrote: #every_page -- Tyssen

RE: [WSG] Help with css cascade problem from external style to internal style

2007-06-06 Thread Thierry Koblentz
On Behalf Of JS Bracher #every_page li a { display: block; height: 1em; padding: .6em; font-size: small; text-decoration: none; color: #999; background-color: #4F; } #every_page li a:hover { background-color: #999; color: #000; } This works just fine. So in the internal

Re: [WSG] Help with css cascade problem from external style to internal style

2007-06-06 Thread JS Bracher
Thanks John. Once I realized the problem was a specificity issue, I changed the internal style block to: li#index a, li#index a:hover ... Which is not quite what you did, but it's similar. Yours is better, it's more explicit about what is being styled. John Faulds wrote: style

Re: [WSG] Help with css cascade problem from external style to internal style

2007-06-06 Thread Nick Gleitzman
On 7 Jun 2007, at 2:25 PM, JS Bracher wrote: Once I realized the problem was a specificity issue, I changed the internal style block to: li#index a, li#index a:hover ... Hopefully you changed the HTML as well, because the sample you originally posted had the id of 'index' on the a, not

RE: [WSG] Help with css cascade problem from external style to internal style

2007-06-06 Thread Thierry Koblentz
On Behalf Of JS Bracher Once I realized the problem was a specificity issue, I changed the internal style block to: li#index a, li#index a:hover ... Which is not quite what you did, but it's similar. Actually, the above should *not* work as index is not the ID of an LI, but an A ---