Prevent text selection when dragging from outside target in IE7/8
问题 It has been discussed how to disable text from being selected: How to disable text selection highlighting using CSS? However, I have yet to find a solution that blocks the user from selecting text when dragging from outside the intended target. I'm looking for a solution that works in IE 7/8. Any ideas? 回答1: The IE8- onselectstart event and unselectable attribute solutions have already been discussed. The CSS solution has been published as well. Here is the gist: <!-- save this file as