macmonkey
02-02-2005, 08:12 PM
So.... I've got a nav bar that I've got looking the way I want it. Basically it's red text on an orange background.
on a:hover the text turns to orange while a red bg is applied.
In order to keep the links looking consistant from page to page I've made an a:visited where the text is red again. problem is when I hover over a page that's been visited my text matches the red background instead of going orange. I'm obviously leaving something out.
Is there a way to fix this?
a:link { text-decoration: none; color: red; font-size: 12px; }
a:hover { text-decoration: none; color: #FF9900; font-size: 12px; background: red; }
a:active { text-decoration: none; color: #FF9900; font-size: 12px; background: red; }
a:visited { text-decoration: none; color: red; font-size: 12px; }
on a:hover the text turns to orange while a red bg is applied.
In order to keep the links looking consistant from page to page I've made an a:visited where the text is red again. problem is when I hover over a page that's been visited my text matches the red background instead of going orange. I'm obviously leaving something out.
Is there a way to fix this?
a:link { text-decoration: none; color: red; font-size: 12px; }
a:hover { text-decoration: none; color: #FF9900; font-size: 12px; background: red; }
a:active { text-decoration: none; color: #FF9900; font-size: 12px; background: red; }
a:visited { text-decoration: none; color: red; font-size: 12px; }