firxfox -moz-user-select:none
IE需要使用JS的onSelected事件了。
JS代码
dom.style.MozUserSelect = 'none';//fixrox禁止选择的JS脚本
dom.style.webkitUserSelect = 'none';
if( document.all ){//IE下禁止选择
dom.onselectstart=function(){return false;}
}
查看更多关于CSS禁用鼠标拖拽选中内容_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did107377