Jim Dabell wrote:
[color=blue][color=green][color=darkred]
>>>> but shouldn't that be replaced by the default colours for links if the
>>>> image is hyperlinked?
>>>
>>>I would suggest adding the following rule:
>>>
>>>a img {
>>> color: inherit;
>>>}[/color]
>>
>> Added (only I changed it to border-color :)[/color]
>
>That wasn't a typo/thinko, but your version is probably more reliable :)[/color]
Yes on reflection this is a bit of a funny one. I suppose it can be said
that the hyperlink element itself does not render, but rather that it
manipulates the hyperlinked content to make it recognizable as a link.
In the case of inline content such as text the colour of the content
itself is changed, in the case of replaced inline content like images a
border is applied around the image.
The question then is; does <a> have a color/border-color that can be
inherited by descendant elements, and does it depend on what is being
hyperlinked?
Headless
--
Email and usenet filter list:
http://www.headless.dna.ie/usenet.htm