css selectors - Apply CSS to Anchor Tag of -


I have existing CSS

  a: active {outline: none; } A: Focus {-Moz-outline-style: none;   

which works fine

I want to restrict applications only to those anchor items which are a and ul> gt; & Lt; Li & gt; Class = " tab_contact " under a div with / code> items

That is why I did only to fail!

  #tabs_container ul Li a: active {profile: none; } #tabs_container ul li a: Focus {-Moz-outline-style: none; }   

Am I doing this wrong?

Thanks in advance

Edit My Bad! Actually id = " tabs_container " no class.

More references: This is part of the tutorial by Eric Berry.

Your element is a class but you are trying to reference it with an ID

  .tabs_container ul li: active {framework: none; } .tabs_container ul li a: Focus {-Moz-outline-style: none; }    

Comments