Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable text select

Status
Not open for further replies.

three57m

Programmer
Jun 13, 2006
202
US
Does anyone know of a simple way to disable text selecting.
The problem is I have a menu that does not use <a href"#">
</a> it looks something like this:
<td nowrap style="cursor:pointer"><div>&nbsp;&nbsp;Updates</div></td>
So when a user clicks sometimes the text becomes highlighted. This does not need to disable the users ability to copy any text just eliminate the selected area from being shown as selected. So for clarity when user holds the right mouse button down and then moves the mouse it shows selected.
 
I suggest searching this forum for the answer. I know I've posted a comprehensive answer on here within the last 4 months or so, so it shouldn't be too hard to find.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top