[x]

deviantART

 
[x]  
~halfkoreanstudmuffin:iconhalfkoreanstudmuffin: Mar 25, 2006, 7:59:46 AM
Okay I've got this little stupid snag I've run into. On my site I wanna seperate texual link hovers from image link hovers. On the images I dont want ANY hover effects so I specified

img a:hover {
border:0px none;
background: url(none);
text-decoration: none;
display: none;

here's a sample of what I'm talking about, I don't want any img rollover effects whatsoever.
Am I doing something wrong here?

Devious Comments

love 0 0 joy 0 0 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0

~halfkoreanstudmuffin:iconhalfkoreanstudmuffin: Mar 25, 2006, 7:59:46 AM
Okay I've got this little stupid snag I've run into. On my site I wanna seperate texual link hovers from image link hovers. On the images I dont want ANY hover effects so I specified

img a:hover {
border:0px none;
background: url(none);
text-decoration: none;
display: none;

here's a sample of what I'm talking about, I don't want any img rollover effects whatsoever.
Am I doing something wrong here?
`jmulder:iconjmulder: Mar 25, 2006, 9:42:29 AM
Yes. Your cascading is wrong. img a:hover</img> looks for an A element that is a descendant of an IMG element. This is not possible. You'll want to use a:hover img.

--
ILOVESIGNATURES

Comment, to get comments.
Share your kindness, not your hate.
Love the art, before yourself.
~halfkoreanstudmuffin:iconhalfkoreanstudmuffin: Mar 25, 2006, 10:15:11 AM
tight, I'll give it a whirl
~winx:iconwinx: Mar 28, 2006, 10:04:00 AM
Or else you could make a class for your images that are links and give them the settings you want

Site Map