what is the difference between them?
#top .catnav li vs. .catnav li a4 posts from 2 voices
The first one targets the list item, the second one targets the link in that list item.
ok, topic has a misleading title
#top .catnav li a
.catnav li a
so the difference is only #top - what does it change?
The top one will only work if theres a listed link in the catnav in the #top div. The second one will target all listed links within a catnav class. This however only occurs in your #top.
You must log in to post.