css 질문좀 드립니다 채택완료
fldkfem1
9년 전
조회 4,305
.premium_box { width:1120px; margin-top:15px; display:flex; flex-direction:row; }
위소스부분에서 1120px 이상넘어가면 아래로 넘어가야 하는데 아래로 넘어가지않습니다 이럴땐
어떻게 해야하죠 ?
</p><p> </p><p> </p><p>.premium_box { width:1120px; margin-top:15px; display:flex; flex-direction:row; }</p><p>.premium_box_1 {float:left; width:350px; height:310px; border:1px solid #bbb; margin-bottom:10px;margin-top:7px; margin-right:17px; }</p><p>.premium_box_1 h1 img { width:350px; height:220px; }</p><p>.premium_box_1 ul {list-style:none; }</p><p>.premium_box_1 li {margin-bottom:5px;margin-left:5px; }</p><p>.premium_box_1 li h2 { color: #ff0000; font-weight:bold;font-size:18px; }</p><p> </p><p>.Basic_box { width:1120px; margin-top:15px; }</p><p> </p><p>.Basic_box_1 {float:left; width:350px; height:130px; border:1px solid #bbb; margin-bottom:10px;margin-top:7px; margin-right:17px; }</p><p> .Basic_box_1 h1 img { float:left; width:130px; height:130px; }</p><p>.Basic_box_1 ul {float:left; list-style:none; }</p><p>.Basic_box_1 li { margin-bottom:5px; }</p><p>.Basic_box_1 li h2 { color: #ff0000; font-weight:bold;font-size:18px; }</p><p> <div class="premium_box"></p><p> <?php</p><p> for ($i=0; $i<count($list); $i++) {</p><p><span class="Apple-tab-span" style="white-space:pre"> </span>if($list[$i]['wr_8'] == '프리미엄'){//프리미엄일때</p><p> ?></p><p> </p><p> </p><p> </p><p> <div class="premium_box_1"> <a href="<?php echo $list[$i]['href'] ?>"></p><p> <h1><img src="<?php echo '/data/file/'.$bo_table.'/'.$list[$i]['file'][1]['file'] ?>"></a></h1></p><p> <ul></p><p> <li><h2>대명본웨딩홀</h2></li></p><p> <li>서울강남구 논현동 1111</li></p><p> </ul></p><p> </a></p><p> </div> </p><p> </p><p> </p><p> </p><p> <?}}?></p><p> </div> </p><p> </p><p> <?php</p><p> for ($i=0; $i<count($list); $i++) {</p><p><span class="Apple-tab-span" style="white-space:pre"> </span>if($list[$i]['wr_8'] == '프리미엄아님'){//프리미엄일때</p><p> ?></p><p> <div class="Basic_box "> </p><p><div class="Basic_box_1"><a href="<?php echo $list[$i]['href'] ?>"></p><p><h1><img src="/web/imge/few2.png"></h1></p><p> <ul></p><p> <li><h2>대명본웨딩홀</h2></li></p><p> <li>서울강남구 논현동 1111</li></p><p> </ul></p><p> </a></p><p> </p><p></div></p><p> </div></p><p> </p><p> </p><p><?}?></p><p> </p><p>
댓글을 작성하려면 로그인이 필요합니다.
답변 3개
답변을 작성하려면 로그인이 필요합니다.
로그인