Strict HTML image border using CSS
I have the following to display a clickable image (no frame) on the website:
<a href="link"><img src="img" border="0" /></a>
However, this is not strict XHTML 1.0, so I changed it too:
<img src="img" class="mystyle" />
And CSS:
mystyle img
{
border: 0px;
}
However, this only works in Safari and Chrome and does not work in IE and FireFox.
I understand that w3 validators are not needed, but it was interesting if anyone met this and possibly fix it :)
EDIT: The style was a typo, I meant the class;)
thank
+3