php - 在 wordpress 中使表格响应
问题描述
目前,当我的产品页面从移动设备加载时,我的桌子被切断(见附图)。
我要在我的 css 或 html 中添加什么来使其对齐?下面是我的html代码。
您可以查看产品页面以供参考 https://www.sebuys.com/shop/windows-10-customised-i7-i5-7th-gen-rgb-gaming-tower-16gb-8gb-ddr4-pc-computer/
Windows 10 Customised i7/i5 7th Gen RGB Gaming Tower 16GB / 8GB DDR4 PC Computer
<table class="shop_attributes">
<tbody>
<tr>
<td>Condition:</td>
<td>Brand New</td>
<td>Operating System Edition:</td>
<td>64bit Professional</td>
<td>Form Factor:</td>
<td>Gaming PC Tower</td>
</tr>
<tr>
<td>Storage Type:</td>
<td>SSD & SATA</td>
<td>MPN:</td>
<td>Does Not Apply</td>
<td></td>
<td></td>
</tr>
<tr>
<td>Brand:</td>
<td>Custom, Whitebox</td>
<td>Windows 10</td>
<td>Windows 10</td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
解决方案
表格从不响应。您所能做的就是将表格包装在一个 div 中并将溢出:自动应用于该 div。
<div style="overflow:auto">
<table>
...
</table>
</div>
推荐阅读
- performance - 不能同时使用 cuMemcpyHtoDAsync 和 cuMemcpyDtoHAsync
- r - 来自两个包(irr、DescTools)的 Cohen 的 kappa 函数给出不同的结果
- r - 在 R 中绘制按时间显示日期的折线图
- graph - TEAMS - 图形 API:消息中缺少选项卡引用
- gulp - 错误:使用 gulp 版本 4 时 gulp.start 不是函数
- azure - Azure 数据工厂和调用 Azure Batch 作业
- c# - 库无法打开 COM 端口
- ruby-on-rails - Google API OAuth 2.0 在移动设备上获得用户权限,在服务器端 API 上使用
- php - 每次调用 php 方法时更新数据库值
- sql - 如果缺少特定日期信息,则 SQL 插入前一个日期的值