Didn’t mean to say the code was bad as such, just that I would have coded it less complex….but since it comes from a generator, it kind of makes sense why it’s like this. :)
Anyway, looks like you added the
z-index:3 to the
ul.dropdown li, and not the
See http://jsfiddle.net/K5fVm/1/ for update.