CSS Q
- Started
- Last post
- 12 Responses
- Atkinson
I have an image that has taken the style of a link, when hovered the background colour is yellow. I want there to be no link styling on the image. How do I remove it? Here's the code for the image and the classes before, just not sure where to put the dots and # for the css.
<h2 class="widgettitle"><a class="rsswidget" href="http://www.mydomain/index.php?rss=true&action=product_list" title="Syndicate this content"><img style="b.....
- neverblink0
h2.widgettitle a.rsswidget img{
border: 0px none #FFF;
background-color: #transparant; // or use bg-color of page
}
- Atkinson0
Thanks, that's similar to what I had. The image still has a yeallow BG on hover though
- JamesBoynton0
h2.widgettitle a.rsswidget img:hover{
background-color: #ffffff;
}?? does that work?
- Stugoo0
is it because your style is still inline?
try
background:none;
- JamesBoynton0
or maybe just
img{
background-color: #ffffff;
}img:hover{
background-color: #ffffff;
}I think that would do all... but maybe not.
- Atkinson0
no luck with those. I think all the links down the side are within a 'menu' div
- maximillion_0
looks like the images is styled and QBN cut off yr post
"<img style="b....."
- Stugoo0
post your html and css please
or plonk it in an email
- Atkinson0
Cheers Stu
- Stugoo0
Ok check your email dude.
- Atkinson0
nothing come through?
- Stugoo0
is that all gravy now dude?