I’m going nuts… I cannot figure out why my links are not showing up how I want them to. The navigation links show up like the CSS tells it to, but the “link 1” and “link 2” have a mind of their own. I do not understand why they are not listening to CSS. link 1 and link 2 should be red, then become underlined on hover. Also the Test link in the middle section displays differently in Firefox vs IE. Any help is greatly appreciated!!
Why dont you simplify your css. Not sure why the left div stuff is there is you are only controlling a ahref tag.
A {
regular link stuff here (default links)
}
A.hover {
regular link stuff here (default links)
}
A.visited {
regular link stuff here (default links)
}
A:profile {
profile link stuff here
}
A.hover:profile {
profile link stuff here
}
A.visied:profile {
profile link stuff here
}
I dont think your first example will work in any case, since the ahref tag will break the cascade. You can accomplish what you are trying programmatically but not the way you are trying. Actually let me think on it. It is late and my brain is fried.