March 22nd, 2007 : Image Boarders

I just noticed something intersting on my site today. It’s something most of you won’t care about, but I figured it is Thursday, so… whatever, I don’t care.

Anyway, I opened up my website in 8 browsers and took a look at them. It looked great in all 8 browsers, which made me happy, but there was one discrepency. In Firefox, Camino and Mozilla, the image in the post below this one, had an image boarder around it.

The image boarder was caused by the link tag in my style sheet. If you hovered over the image, the boarder changed to a red color, just like my links do. Now I thought this was interesting, because the Mozilla browsers, all based off of the Gecko framework, all applied the link styling to the images, while Safari and the other browsers built off of the webkit framework, do not.

A simple line of code fixed the issue, so I didn’t have any boxes, but I thought it was interesting.

Have a great day all!

2 Responses to “Image Boarders”

  1. Bob Says:

    Phil, you know, that is probably because Mozilla is using proper inheritance and the others are not. At least I think that might be it. It is quite frustrating at times … I know.

  2. Philip Says:

    Thanks Bob. That’s the one thing I meant to look up. Which way was right. It makes sense, but I am supprised that only thre browsers do it correctly.

Leave a Reply