• support@answerspoint.com

CSS rule to disable text selection highlighting

Packers and Movers in Patna
1114

For anchors that act like buttons (for example, QuestionsTagsUsers, etc. at the top of the Stack Overflow page) or tabs, is there a CSS standard way to disable the highlighting effect if the user accidentally selects the text?

I realize this could be done with JavaScript, and a little googling yielded the Mozilla-only -moz-user-select option.

Is there a standard-compliant way to accomplish this with CSS, and if not, what is the "best practice" approach?

  • CSS

  • asked 7 years ago
  • B Butts

0Answer


Packers and Movers in Patna

Your Answer

    Facebook Share        
       
  • asked 7 years ago
  • viewed 1114 times
  • active 7 years ago

Best Rated Questions