Hi,
Trying to figure this out for some time now, but I don't get it ... I
have something like this:
.myclass {
color: red;
}
<p class="myclass"> this is <b> some </b> text </p>
By my understanding of inheritance in CSS 'some' should be in red, but
it isn't (in IE6 at least). What am I doing wrong?
Thanks for any help, Gertjan
C A Upsdell - 24 Feb 2005 19:36 GMT
> Hi,
>
[quoted text clipped - 9 lines]
> By my understanding of inheritance in CSS 'some' should be in red, but
> it isn't (in IE6 at least). What am I doing wrong?
What is the URL?
David Dorward - 24 Feb 2005 20:01 GMT
> .myclass { color: red; }
> <p class="myclass"> this is <b> some </b> text </p>
>
> By my understanding of inheritance in CSS 'some' should be in red, but
> it isn't (in IE6 at least). What am I doing wrong?
It should be - assuming that the value of the color property for that <b>
element is "inherit".

Signature
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is