I'm trying to replace my "new" with an image, but I am having the problem of my text bleeding through the image. So... I need to hide the text, but still show the image.
I would think this would work, but it hides EVERYTHING.
span.new-item span {
display:none;
}
span.new-item {
background: url(images/new.gif) no-repeat;
}
That would be my logic since the 'new-item' is enclosed in two <span>'s.
Any help would be appreciated.
Thanks,
- Jonathan
I would think this would work, but it hides EVERYTHING.
Code:
span.new-item span {
display:none;
}
span.new-item {
background: url(images/new.gif) no-repeat;
}
That would be my logic since the 'new-item' is enclosed in two <span>'s.
Any help would be appreciated.
Thanks,
- Jonathan