RE: [css-d] Opera pseudo-class descendants

2005-08-23 Thread Rowan @ Jetboy
Looks like I have a solution: // 'em' read by all browsers em { color: #F00; } /* 'a' read by all browsers */ a { color: #0F0; } /* Opera and Moz inherit link styles, IE ignores inherit */ a em { color: inherit; } /* Ignored by Opera, redundant for Moz, gets around inher

Re: [css-d] Opera pseudo-class descendants

2005-08-23 Thread David Laakso
Rowan @ Jetboy wrote: Opera 5 and 6 don't seem to be recognising descendants of pseudo-classes - such as a:hover em - resulting in some very odd link behaviour, especially when using a:link, a:visited etc. Is there a fix or a workaround that doesn't mean abandoning the semantics or duplicating t

[css-d] Opera pseudo-class descendants

2005-08-23 Thread Rowan @ Jetboy
I have some copy where I've semantically emphasised some words: Why does Opera misbehave when Mozilla doesn't? I've made a section of the copy, including a chunk of emphasised text, a link: Why does Opera misbehave when Mozilla doesn't? and I've used the following CSS to style the links: em {

[css-d] Opera pseudo-class descendants

2005-08-23 Thread Rowan @ Jetboy
I have some copy where I've semantically emphasised some words: Why does Opera misbehave when Mozilla doesn't? I've made a section of the copy, including a chunk of emphasised text, a link: Why does Opera misbehave when Mozilla doesn't? and I've used the following CSS to style the links: em {