如何让用户不能选中文字呢? 还有种方法就是在相应的元素上添加 onselectstart=“return false;” div{ -moz-user-select:none;/*火狐*/ -webkit-user-select:none;/*webkit浏览器*/ -ms-user-select:none;/*IE10*/ -khtml-user-select:none;/*早期浏览器*/ user-select:none; } 注意: 如果写在body中那么就是禁止用户选中网页了