Hi all,

I do not know if this has been asked before, and if it has I apologize for
asking again, but consider the following code:

<a href="http://www.mozilla.org"; class="small-names"><img
src="images/mozillalogos/mozilla/mozillafoundation.png" alt="Mozilla
Foundation" title="Mozilla Foundation" style="border: none;" /></a>

Inside the <img> tag there is an inline style that declares that the image
have no border. I used the inline style here, in this case, to show the
example. It was my understanding that the anchor tag added the border to the
image, mostly due to the underline added by using the anchor tag.

So, my question is this. Why does the image tag have to have the border
placed on it, instead of placing the border or text-decoration styles on the
anchor tag?

--
Brett P.


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to