Hi,

I have all links set to underline in my stylesheet, but I don't want to have the images underlined (this is on a testdrive store, locally hosted, so I have no link, I'm sorry)

I just wanted to ask if I can use the following css code to prevent underlining of images:

Code:
img, a:link img, a:visited img, a:hover img, a:active img {
text-decoration: none !important;
border: none !important;
}
If this is the right code should I put it right after the first part of the stylesheet, or somewhere else?

And if it's not the right code, do you know a good one?

Thank you in advance!

Juliet van Ree