Hi guys,
As you can see below, I have a div (#navleft) with formatted A tags.
The default look and the rollover works as expected but I can't make "ispage" work.
"ispage" is present only in the link of the page in use.
Whatever I do, "ispage" shows the same apearance as the default one. It's not taken into account.
I bet it's the syntax that isn't correct
Thanks for any help !
As you can see below, I have a div (#navleft) with formatted A tags.
The default look and the rollover works as expected but I can't make "ispage" work.
"ispage" is present only in the link of the page in use.
Whatever I do, "ispage" shows the same apearance as the default one. It's not taken into account.
I bet it's the syntax that isn't correct
Thanks for any help !
Code:
#navleft a {
vertical-align: top;
float: left;
width: 140px;
text-decoration: none;
background-image: url({_layout_images_}/nav_left_img_off.gif);
background-repeat: no-repeat;
padding: 0px 0px 6px 22px;
}
#navleft a:hover {
background-image: url({_layout_images_}/nav_left_img_on.gif);
}
.ispage a {
background-image: url({_layout_images_}/nav_left_img_on.gif);
}
Code:
<div id="navleft">
<a href="">link</a>
<a href="">link</a>
<a href="" class="ispage">link</a>
<a href="">link</a>
<a href="">link</a>
</div>