TwelvestoneFront End

weird jquery/css issue


Sign in

  • Waiting for Godot ( 730 k posts )
    Just conversation.
  • Thunder Dome ( 23 k posts )
    Photoshop Tennis and Collabs.
  • Photography ( 5.1 k posts )
    For all you shutterbugs, sh...
  • Flash ( 18 k posts )
    ActionScripting to tweens, ...
  • Front End ( 5.9 k posts )
    general front end design an...
  • Back End ( 9.7 k posts )
    serverside scripting, progr...
  • Projects and Theory ( 12 k posts )
    This forum is for discussio...
  • FAQ ( 269 posts )
    All those nagging questions...
  • Design ( 17 k posts )
    graphics & all aspects of g...
  • Purgatory ( 3.6 k posts )
    12stone Jail, feel free to ...
Tha.Riddla
 
2011-05-05

http://www.mattriddle.com/intelly/menu1.html

hovering over "shop" you get a dropdown. If you click on "tea" or "merchandise" it'll give you the appropriate submenus, but my styling for the .selected class is not applying until you click within the actual submenu itself. any ideas?

wowbagger[tip]
 
2011-05-05

dropdown li > a:focus {

background: none repeat scroll 0 0 #DADADA;

}

When you click the tab the element gets focus, which is not lost untill you click the submenu.

The selector for the element above has precedence over the .selected selector.

Tha.Riddla
 
2011-05-05

k

I'll rejigger.

Sorry, you must be a member to post to a conversation. Either log in or sign up to get involved.
TwelvestoneFront End

weird jquery/css issue