+ 5
A question regarding texts.
Often when we make a code in HTML , we see that when we run the code and then if we press on a word or just select it , the computer automatically selects the text , which creates a disturbance sometimes . Can anyone suggest me a method to make that text don't behave in that manner , Plz help if you know how to do that ..
4 Antworten
+ 6
check this code to disable text selection in web browsers
https://code.sololearn.com/WzlK3d1wkVOn/?ref=app
source:https://stackoverflow.com/questions/3779534/how-do-i-disable-text-selection-with-css-or-javascript
+ 6
Thanks @Lord Krishna
+ 5
do you mean something like this?
https://www.w3schools.com/cssref/tryit.asp?filename=trycss3_selection
try to select the text in that example
+ 1
No idea what you're talking about. I'm sorry. :(
I think you may be double clicking on the word? Maybe mouse is broken and is double clicking for single clicks.