help w/ css prob
help w/ css prob
Out of context: Reply #10
- Started
- Last post
- 17 Responses
- instantok0
you are referencing the element improperly...
try replacing this:
a.tab.activeTab, a.tab.activeTab:hover, a.tab.activeTab:visited {
background-color: #fff;
text-decoration: none;
font-weight: bold;
color: #333;
}----------------
with this:
.tabarea .activeTab, .tabarea .activeTab a, .tabarea .activeTab a:visited, , .tabarea .activeTab a:hover, .tabarea .activeTab a:active {
background-color: #fff;
text-decoration: none;
font-weight: bold;
color: #333;
}--------
you also do not need class="tab" on your links...your css does not have a tab class anyway...try to get in the habit of having your link styles in the order they are above (a, visited, hover, active) as well