CSS conundrum
- Started
- Last post
- 17 Responses
- versa
anybody ever have an
a.link:link
end up displaying the
a.link:visited
form of the pseudo class?trying to debug my site nav,
and can't seem to get the first link state to show from the external css fileany thoughts would be great
- ********0
the order of wrting the linkstates is highly crucial for in good CSS!
change your order and most liely it will be fixed.
- ********0
my typing sux. sorry.
i need to kick myself to bed now.
(-_-)
- rasko40
link, visited, hover, active.
- versa0
you mean:
a.link.link
a.link.active
a.link.visited
a.link.hoverlike thatta or whatta?
- versa0
bumper
neither order seems to get it
*again it is in an external*
tried putting it in the style element in the page, that didn't get it working either
gotta be something simple
- gabriel_pc0
check this link:
http://www.westciv.com/style_mas…
it covers anchor tag css pseudo classes like a jimmy hat
- gabriel_pc0
you have a link we could check out? it's always easier to debug when you can see it
- ********0
a.link
a.active
a.visited
a.hoverget rid of the redundant link-words... :)
- versa0
4cY
those are just mock class names
check this link and look at the menu
http://www.monoblend.com/staging…
the links in the menu should be white initially
- ********0
for me this order always works best..
#element a:visited,
#element a#element a:hover,
#element a:activeor with classes:
.class a:visited,
.class a.class a:hover,
.class a:active
- ********0
they are white here...
- ********0
neat work, btw!
- gabriel_pc0
looks fine to me, they come up white initially
I'm using IE6 Win2k
- versa0
ok thanks
let me give that a try
wonder why they show up blue
over hereshouldn't be a cache issue
but ......by the way, do you think its weird to have a cover on the right that then has content under it.........will people look under the hood so to speak
i'll let people crit it soon
- versa0
thx gabriel
- mvb20
I always used:
a {
a:link {
a:hover {
Never had a problem with that. Those control the links in your paragraph tags, and then your h1, h2, etc. tags like so:
h1 a {
h1 a:link {
h1 a:hover {and so on...
- ********0
clear both your history and your cache.
oh, and i tested on Safari, Apple.