如何解决移动CSS水平表响应?
我对描述有疑问。
说明在表格,照片,说明和尺寸表中。
尺寸表是垂直的,应该是水平的。
问题是手机上的尺寸表在栏中是垂直的,应该是水平的,因为它在桌面上显示,我不知道该怎么做?
<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> </p>
<div><strong>Obuwie:</strong> nowe</div>
<div><strong>Materiał:</strong> eco skóra</div>
<div><strong>Wkładka: </strong>tkanina</div>
<div><strong>Rodzaj obcasa:</strong> płaski</div>
<div><strong>Wysokość:</strong> przed kostkę</div>
<div><strong>Nosek:</strong> okrągły</div>
<div><strong>Ocieplenie:</strong> nie</div>
<div><strong>Zapięcie:</strong> 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> </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;"> </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 举报,一经查实,本站将立刻删除。