html - How do I disable text selection with CSS or JavaScript? -
possible duplicate:
css rule disable text selection highlighting
i making html/css/jquery gallery, several pages.
i indeed have "next" button, simple link jquery click listener.
the problem if user click button several times, text of button selected, , full line of text. in darky design, ugly , nonsensical.
so here question: can disable text selection on html? if not, i'll terribly miss flash , high level of configuration on textfields...
<div style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;" unselectable="on" onselectstart="return false;" onmousedown="return false;"> blabla </div>
Comments
Post a Comment