Hello!
I have a navigation bar with two tabs on a tab bar. The first represents the page being shown, and the second is a link to a second page. When the first page is being viewed, the first tab is labeled in the markup as ".current." When the second page is viewed, the second tab is is labeled in the markup is current. In the CSS file, when a tab is current, it brings up two images of a colored tab. One for the left side of the tab, and one for the right. The code in the CSS file is:
.tabbar_homepage li.current a {
color: #fff;
background: url(http://mysite.com/images/currentLeftTab.gif) no-repeat;
background-position: left;
}
.tabbar_homepage li.current a b {
color: #fff;
background: url(http://mysite.com/images/homeRightTab.gif) no-repeat;
}
This works great. However, I want to do one thing further: When the other tab (for the non-current page) is moused over, I want two other tab images to come up. Here's the code I'm using:
.ivt a:hover {
color: #fff;
background: url(http://mysite.com/images/ivtLeftTab.gif) no-repeat;
}
.ivt ab:hover {
color: #fff;
background: url(http://mysite.com/images/ivtRightTab.gif) no-repeat;
}
The left side appears but no the right. I checked in the CSS guide I'm using and it says that this is correct. Does anyone have any recommendations (other than getting a new guide?) ;)
Thanks!
THT