Underline showing in some images, not all.

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

DaveSS

Thread Starter
Joined
Jun 18, 2002
Messages
453
Hi there,

This is doing my head in a bit.

I've turned underline in images off via css

a img {
border: none;}

And it works.

However on a redesign I'm getting some images showing underline on hover, but not all?!!

Original page no underline.

New draft underline showing. Hover over feedburner count badge (middle right) or RSS / Twitter icon bottom left.

All other images are fine.

It must be CSS related as when I load the old style sheet this problem goes. The problem is I can't isolate the problem.

Anyone see what the problem is, and know a cure?

Dave

Just an update:

Old css for links was

a:link {color: #D8CA92;}
a:active {color: white;}
a:visited {color: #696348;}
a:hover{color:white;}

a img {
border: none;}

New css is

a:link {color: #D8CA92; }
a:active {color: #D8CA92; }
a:visited {color: #D8CA92; text-decoration:underline; }
a:hover { color: #fff; text-decoration:none; border-bottom: 1px solid #FCB915;}

a img {
border: none;}

replacing the new with old cures the problem. Except that's not the link color I want, the new css is. But for some reason it's making a couple of images underline on hover. Can't figure out why?
 
Joined
Aug 12, 2007
Messages
696
Didn't study closely, but maybe because the a:visited spec is being utilized on links you've already clicked? That is forcing the underline.

Great looking site, by the way!
 

DaveSS

Thread Starter
Joined
Jun 18, 2002
Messages
453
Thanks. Yea, I eliminated that. But still the problem occured.

Finally found a solution. in

Code:
a img {
    border: none;
    vertical-align: top;}
To basically hide the Underline. Not ideal, but seems to work.

Thanks for compliment. Hope you meant the new look is better than the old one? :)
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Members online

Top