Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Nav Bar Doubt Reply To: Nav Bar Doubt

#238481
ravensjeff
Participant

You anchor tag (a) is not a parent of your div .sub_menu_people, whereas the li is.

So in your first example, the CSS declarations you’ve specified under a:hover .sub_menu_people doesn’t fire because there is no .sub_menu_people that is a child of an anchor tag.