View Full Version : May IE be BURNED!


weird girl
08-03-2004, 07:38 AM
Ergh! In my css, I specified
a.img
{border: none;
background: transparent;}
for the image links
because the regular links I have border effects and junk. Well, In Mozilla the thumbnails with <a clas="img"> have no border or background, in Opera, there's no border or background, but- suprprise surprise, in IE, the thumbnails have a lovely dotted border around it. :rolleyes:
Here's the URL: http://alien.tag-world.com/art/

Can anyone please tell me how to get rid of that dang border in IE? I'm not talking about the 3px solid blue border, I'm talking about the dotted border that appears when you hover over the thumfbnails.

pb&j
08-03-2004, 07:44 AM
try taking out the . part between a and img...

a img
{border: none;
background: transparent;}

you can then toast the CLASS="img" parts cause this states to apply the style whenever it sees an IMG tag inside of an A tag.

weird girl
08-03-2004, 07:52 AM
try taking out the . part between a and img...

a img
{border: none;
background: transparent;}

you can then toast the CLASS="img" parts cause this states to apply the style whenever it sees an IMG tag inside of an A tag.
I did that, and the blue border I had around the image disappeared (Which is not what I wanted) and the background and the dotted border, the colors I had for the links do. :confusion
Well, it does that in Mozilla anyway.

Thanks anyway. ;)

pb&j
08-03-2004, 07:56 AM
oops, hang on a sec, you just have to add in one more piece of coding.
ok, first put that . back where it was before to fix that error i said.
now add this part...

a.img:hover
{border: none;
background: transparent;}

weird girl
08-03-2004, 08:09 AM
It's nice to know IE's bugginess isn't beyond repair. ;)

Thank you very much. :D