如何禁用数据表选择

问题描述

  1. 希望仅在数据表中禁用此选择功能。
  2. 可以以thread 2 run while making the thread 3 keep stopping为例here

enter image description here

解决方法

user-selecttd标签使用th

 td,th {
   user-select: none;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none; 
}
,

尝试将其添加到CSS中以禁用整个身体的选择

body {
  -webkit-user-select: none;
 -moz-user-select: -moz-none;
  -ms-user-select: none;
   user-select: none;

}

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...