답변 3개
2019-05-13 (월) 01:48:24
<div style="width:1200px;">
<div style="width:500px; height:300px; float:left;"></div>
<div style="width:500px; height:300px; float:left;"></div>
<div style="clear:both;"></div>
</div>
스타일속성에 float:left 를 주시면 일반 개채처럼 옆으로 붙게 됩니다.
그리고 더이상 float 이 필요없다면 마지막에 clear:both; 로 초기화 해주시구요.
2019-05-13 (월) 01:40:40
div로 넣으시고 해당 div의 display 속성을 inline-block 또는 flex;로 해주시고
width속성을 50%로 하시면 될 듯하네요
답변을 작성하려면 로그인이 필요합니다.
