treehouse : what would you like to learn today?
Web Design Web Development iOS Development

[Solved] How to fix selection issue in Chrome?

  • Hello!

    I have created some elements with jquery library in my page like accordions, toggles and ...

    The problem I have is when I open my page in chrome and click on accordion's items a yellow selection around the item is shown.

    I don't have this issue in toggles and other elements.

    How can I fix the problem?

    Thanks!

    Alireza.M

  • Hard to help without a link :)

  • I created my accordion here:

    http://jsfiddle.net/YXQxk/5/

    if you click on any item in accordion with chrome browser you will see a yellow selection around thet item.

    It's exactly my problem.

  • Looks like the glow you get on textfields/textareas.

    Try adding 'outline: none;' to your '.ui-accordion-header'

    Hopefully that'll do the trick?

  • Thank you grimski!

    It fixed the issue!

    thanks again.