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
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
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 {
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 {