html - Remove scroll bar for 100% zoom
问题描述
I want to display a complete data table but because the columns are pretty large in amount and the table is set to non-responsive. if I zoom to 80% all table content is clearly visible to me without a horizontal scroll bar but if I reset to 100% few of my columns are not visible until I scroll to right. what can I do in this case?
解决方案
在您创建表格的 HTML 中,将宽度设置为 100%。
<table id="my-table" class="some-class" style="width: 100%;">
</table>
推荐阅读
- html - 为什么我的媒体查询样式没有改变?
- javascript - 使用javascript在另一个页面中打开一个html文件
- python - Streamskill 和使用 openpyxl 加载工作簿
- reactjs - 为什么浏览器说我的身份验证是未定义的,而我已经为它分配了一个值?
- pytorch - torch.where 中的标量类型?
- mongodb - mongo 没有返回正确的文档
- powershell - 为什么打包为EXE时无法获取当前运行脚本的名称?
- sql - TSQL 用于提取 SQL Server 2012 中大段落中重复“@”符号之间嵌入的所有文本/字符串
- javascript - × 未处理的拒绝(TypeError):this.handleUpdate 不是函数
- php - 带有数组函数的 PHP INSERT