|
Posted by Bone Ur on 11/04/07 09:11
Well bust mah britches and call me cheeky, on Sun, 04 Nov 2007 07:15:32
GMT Jukka K. Korpela scribed:
> Scripsit Bone Ur:
>
>> From what I see, the content is within links - which will inherit the
>> link color.
>
> There has been a lot of disinformation in the thread (and, someone
> might add, the original question called it, e.g. by its failure to
> supply a URL). It would be pointless to correct it all, but I'll take
> a bite on this one, since it was probably an unintentional mistake,
> and a common one.
>
> Links never inherit colors, in practice. In theory they could, but in
> reality, in any browsing situation where different colors are
> available at all, the browser's style sheet sets colors for links.
> Author and user style sheets may override such settings, but in any
> case, links have a color (or colors, different colors for a link in
> different states) set for them.
>
> And an element never inherits a property value if it has a value
> assigned for that property. People just fail to understand what
> inheritance means. This is part of the general failure to understand
> the "C" in "CSS".
>
> So if some text is within a link, it _gets_ a link color. If a link
> has an inner element, say <a href="...">...<span>...</span>...</a>,
> then the _inner_ element may inherit the link color (and will, unless
> some style sheet sets color for it).
Well, yes, all that is very precise, but I was using the English word
"inherit" to mean "get", not the css-definition "inherit" to mean
"whatever". I can see how it might be confusing to an expert, but I
believed the meaning to be clearer to the OP as I framed it.
--
Bone Ur
When I was a young man I learned that having sex with a woman is fun until
you either get caught or married.
[Back to original message]
|