Page 1 of 1

[DONE]None selectable text?

Posted: Tue Mar 13, 2007 2:02 am
by JellyFish
How could I make the text inside an element not selectable, in other words text that can't be selected by the client? Using javascript, css or html.

That's pretty muchit.

Posted: Tue Mar 13, 2007 2:05 am
by iknownothing
a clear div over the top would do the trick, as long as its positioned to suit all resolutions.

Posted: Tue Mar 13, 2007 2:21 am
by JellyFish
Nice. If there are any other solutions I'd be abliged aswell.

Posted: Tue Mar 13, 2007 2:22 am
by matthijs
Or make it an image.
(but that causes other problems of course).

May I ask the reason why you want to make the text non-selectable?

Posted: Tue Mar 13, 2007 10:16 pm
by JellyFish
I was trying to imitate a button.

I decided agents it. Thank anyways guys. :D