移动CSS水平表响应?

问题描述

我对描述有疑问。

说明在表格,照片,说明和尺寸表中。

尺寸表是垂直的,应该是水平的。

问题是手机上的尺寸表在栏中是垂直的,应该是水平的,因为它在桌面上显示,我不知道该怎么做?

enter image description here

enter image description here


<div class="innerbox">
            <div class="resetcss" itemprop="description"><table style="height: 1593px; width: 1088px;">
<tbody>
<tr>
<td style="width: 500px;">
<span>BOTKI</span>
<span>W KOLORZE BLACK</span>
<p>ORYGINALNY PRODUKT</p>
<p><strong>JULIA-S</strong></p>
<p>&nbsp;</p>
<div><strong>Obuwie:</strong>&nbsp;nowe</div>
<div><strong>Materiał:</strong>&nbsp;eco skóra</div>
<div><strong>Wkładka:&nbsp;</strong>tkanina</div>
<div><strong>Rodzaj obcasa:</strong>&nbsp;płaski</div>
<div><strong>Wysokość:</strong>&nbsp;przed kostkę</div>
<div><strong>Nosek:</strong>&nbsp;okrągły</div>
<div><strong>Ocieplenie:</strong>&nbsp;nie</div>
<div><strong>Zapięcie:</strong>&nbsp;zamek,sznurowane</div>
</td>
<td style="width: 569px;"><img src="https://a.allegroimg.com/s1440/03f30a/7b9a67104388a3b27c394e15b09d" alt=""></td>
</tr>
<tr>
<td style="width: 500px;">
<table style="height: 106px; width: 555px;">
<tbody>
<tr style="height: 21px;">
<td style="width: 113px; height: 21px;"><span style="color: #ff7cbe; font-size: 10pt;"><strong>ROZMIAR</strong></span></td>
<td style="width: 67px; height: 21px;"><span style="color: #ff7cbe;"><strong><span style="font-size: 10pt;">36</span></strong></span></td>
<td style="width: 64px; height: 21px;"><span style="color: #ff7cbe;"><strong><span style="font-size: 10pt;">37</span></strong></span></td>
<td style="width: 70px; height: 21px;"><span style="color: #ff7cbe;"><strong><span style="font-size: 10pt;">38</span></strong></span></td>
<td style="width: 68px; height: 21px;"><span style="color: #ff7cbe;"><strong><span style="font-size: 10pt;">39</span></strong></span></td>
<td style="width: 60px; height: 21px;"><span style="color: #ff7cbe;"><strong><span style="font-size: 10pt;">40</span></strong></span></td>
<td style="width: 67px; height: 21px;"><span style="color: #ff7cbe;"><strong><span style="font-size: 10pt;">41</span></strong></span></td>
</tr>
<tr style="height: 21px;">
<td style="width: 113px; height: 21px;"><span style="font-size: 10pt;">WKŁADKA</span></td>
<td style="width: 67px; height: 21px;"><span style="font-size: 10pt;">23,3 cm</span></td>
<td style="width: 64px; height: 21px;"><span style="font-size: 10pt;">24 cm</span></td>
<td style="width: 70px; height: 21px;"><span style="font-size: 10pt;">24,5 cm</span></td>
<td style="width: 68px; height: 21px;"><span style="font-size: 10pt;">25,4 cm</span></td>
<td style="width: 60px; height: 21px;"><span style="font-size: 10pt;">25,7 cm</span></td>
<td style="width: 67px; height: 21px;"><span style="font-size: 10pt;">26,2 cm</span></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p style="text-align: center;"><strong>Prosimy o sugerowanie się długością wkładki umieszczonej w tabeli rozmiarów</strong></p>
</td>
<td style="width: 569px;">&nbsp;</td>
</tr>
<tr>
<td style="width: 500px;"><img src="https://a.allegroimg.com/s1440/03036a/b0838c8b450ab83e89c84513daaa" alt=""></td>
<td style="width: 569px;"><img src="https://a.allegroimg.com/s1440/03839b/2846021940e3b99b4e647ce7707d" alt=""></td>
</tr>
<tr>
<td style="width: 500px;"><img src="https://a.allegroimg.com/s1440/03eaca/418df56e4f8da17393c4eb0012b6" alt=""></td>
<td style="width: 569px;"><img src="https://a.allegroimg.com/s1440/039234/bf1627d4478a9280b9dc9af280c8" alt=""></td>
</tr>
</tbody>
</table></div>
            
                    </div>

css
    @media only screen and (max-width:460px) {
 tbody,table,td,tr {
  display:initial;
 }
or 
@media only screen and (max-width:460px) {
 tbody,tr {
  display:table-row-group;```

  

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...