Rowby Goren
asked on
Is this ">" a css feature or a typo??
Hello,
I see this line in a stylesheet
div.moduletable_bigMenu li > a:link, a:visited, a:hover, a:active {
Is that > a feature or a typo?
If it's a css feature, what does it do?
And can it be compared to a comma , that I sometimes see in css.
Thanks!
Rowby
I see this line in a stylesheet
div.moduletable_bigMenu li > a:link, a:visited, a:hover, a:active {
Is that > a feature or a typo?
If it's a css feature, what does it do?
And can it be compared to a comma , that I sometimes see in css.
Thanks!
Rowby
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
To the other bit :link is unvisited links as opposed to links that have been clicked.
ASKER
Ah, thanks.
And finally
is
a
the same as a:link?
And finally
is
a
the same as a:link?
See comment above.
Similar but not the same.
Just targeting a would make all links the same color whether visited or not.
Similar but not the same.
Just targeting a would make all links the same color whether visited or not.
ASKER
AHHHHHHH!
And that includes HOVER --- ALL links, right?
Rowby
And that includes HOVER --- ALL links, right?
Rowby
If you didn't set any other state then it would include all states. I've never used it as I will generally just set a style for all links with no hover or visited (sometimes visited).
ASKER
If you don't set a style for no hover then will the browser default style kick in?
I just wanna clear something up (my inebriated state before interfered with my brain and fingers)
An anchor tag is not necessarily a link
<a>Hello</a>
is different from
<a href="somelink.html">Click Me</a>
See http://jsfiddle.net/vefh5/4/
a:link would not affect <a>Hello</a> because it is not a link.
An anchor tag is not necessarily a link
<a>Hello</a>
is different from
<a href="somelink.html">Click
See http://jsfiddle.net/vefh5/4/
a:link would not affect <a>Hello</a> because it is not a link.
ASKER
Thanks GaryC123!
Rowby
Rowby
ASKER
is
a
the same as a:link?