Hi guys,
I’d like to find out that whether if it’s possible to call a css class within another css class.
For instance, I’ve declared a class called ‘linktxt’ which will be applied to a link. I have also declared another class for an image called ‘bg’. When I rollover the link, bg should change from one image to the other.
.bg{
background-image: url(images/arrow.gif);
}
.linktxt a:hover{
<!-- Background image of the .bg class changes to url(images/arrow_over.gif) -->
}
Any idea how I should come about doing that?