온라인 편집기를 사용하여 웹 사이트를 만들고 있습니다. 나는 두 개의 기둥과 한 개의 기둥이있는 간단한 테이블을 가지고있다. 데스크톱에서는 훌륭하게 보이지만 모바일에서는 콘텐츠를보기 위해 왼쪽과 오른쪽으로 스크롤해야합니다.두 번째 열이 첫 번째 열 아래로 이동하는 방식으로 두 개의 열 테이블을 만드는 방법은 무엇입니까?
두 번째 열이 작은 화면에서 첫 번째 열 아래로 이동하면 반응 형으로 만들고 싶습니다.
<div style="overflow-x: auto;">
<table style="height: 452px; width: 821px; margin-left: auto; margin-right: auto;">
<tbody>
<tr style="height: 143.6px;">
<td style="width: 280px; height: 143.6px;"><img src="https://storage.googleapis.com/sc-support-web/en-US/GIF/OnBoarding_Snap_Map" width="250" height="409" /></td>
<td style="width: 439px; height: 143.6px;">
<h3 style="text-align: left;"><span style="color: #333333;"><b>It all starts with a test</b></span></h3>
<br />
<p style="line-height: 1.6; text-align: left;"><span style="color: #333333; font-size: large;">This is an example. This is an example. Testing and testing again.</span></p>
</td>
</tr>
</tbody>
</table>
</div>
여기 내 코드입니다. 제발 어떻게 할 수 있니?
감사합니다.
감사합니다. 존! 당신은 내 하루를 만들어 그것을 작동합니다. 하지만 조금 더 사용자 정의하고 싶습니다. 텍스트를 세로로 가운데에 배치하고 그림과 같이 텍스트를 그림에 가깝게 배치하고 싶습니다. https://res.cloudinary.com/hrscywv4p/image/upload/c_limit,fl_lossy,h_9000,w_1200 , f_auto, q_auto/v1/949589/PrtScr_capture_ypwjve.jpg 어떻게해야합니까? – Sebastien
@Sebastien 그것을 확인하십시오 : https://jsfiddle.net/33fLLdzr/3/ –
@Sebastien 또한 함께 플레이 할 다른 버전 : https://jsfiddle.net/33fLLdzr/5/ –