What am I doing wrong in my code & CSS???
I can not get my link colors to change in the top menu navigation (out of the box was the tabs at the top but I modified it). For some reason, it wants to default to the sitewide standard and that will not work b/c of the bgcolor they are on. Here is the code I have:
Quote:
<table cellpadding="0" cellspacing="0" dir="ltr">
<tr>
<td class="tab" {$reading_direction_tag}>{$tab_title}</td>
</tr>
</table>
|
Here is the CSS I have to go with the tab class:
Quote:
.tab {
COLOR: #ffffff;
FONT-WEIGHT: bold;
TEXT-TRANSFORM: uppercase;
WIDTH: 85px;
HEIGHT: 30px;
TEXT-ALIGN: center;
}
A:link.tab {
COLOR: #ffffff;
TEXT-DECORATION: NONE;
}
A:visited.tab {
COLOR: #ffffff;
TEXT-DECORATION: NONE;
}
A:hover.tab {
COLOR: #ffffff;
TEXT-DECORATION: NONE;
}
A:active.tab {
COLOR: #ffffff;
TEXT-DECORATION: NONE;
}
|
Now, I cheated & copied the link CSS from another area that had the same definitions, just different class & color. They work but I can not get this to work. Am I missing something on the whole tab menu thing today? My brain does tend to quit processing data properly later in the day.
Thanks,
Jen
__________________
-
-
Versions: 4.1.10 and 4.3.0 (see post for which cart)
"Until man duplicates a blade of grass, nature can laugh at his so-called scientific knowledge." - Thomas Edison
"Never doubt that a small group of thoughtful, committed citizens can change the world; indeed, it is the only thing that ever has." - Margaret Mead (1901-197  quoted in John M. RIchardson, ed. Making it Happen, 1982
"Water is the best of all things." - Pindar (c. 522 BC - c. 438 BC), Olympian Odes
|