레이아웃만들떄..줄닫는법좀알려주세요 기초인지알겟는데 모르겟어요 ㅠ
본문
지금 이렇게 3단으로되잇는데 왼쪽 가운대 오른쪽...
하고싶은거는 가운대를 오른쪽으로닫고싶어서 칸마다..이럴경우어떻게해줘야하나요?
즉...가운데에다가 이미지를넣어줫으면 오른쪽칸까지 다가게하고싶어요
하고있는데 위에칸이밀려나서 뭘닫아줘야하는것같은데잘모르겟네요
답변 1
<div>
<div style="border:1px solid #000;width:80%;height:50px;margin:1px;">상단</div>
<div style="margin:1px;width:80%">
<div style="border:1px solid #000;width:30%;height:300px;float:left;margin:1px;">왼쪽</div>
<div style="width:69%;height:300px;float:right;margin:1px;">
<div style="position:relative">
<div style="border:1px solid #000;width:69%;height:100px;float:left;margin:1px;">1</div>
<div style="border:1px solid #000;width:69%;height:100px;float:left;margin:1px;">2</div>
<div style="border:1px solid #000;width:30%;height:200px;right:0;margin:1px;position:absolute">오른쪽</div>
</div>
<div style="border:1px solid #000;width:100%;height:100px;float:left;margin:1px;">하단</div>
</div>
</div>
</div>
답변을 작성하시기 전에 로그인 해주세요.