테스트 사이트 - 개발 중인 베타 버전입니다

div height가 안잡힙니다.. 도와주세요! 채택완료

include_once('../inc/left01.php');

?>

 

이렇게 구조는 되어있고 모두 css를 min-height:1px; 로 해놨습니다. 그런데 sub_con_wrap만 높이가 1px로 잡힙니다 다른애들은 사이즈가 넘어가서 자동으로 넘어간 사이즈를 잡아주는데 저녀석만 그러네요.. 해결방법좀요!~

 

<span style="background-color: rgb(255, 255, 255); font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 14.004px;">#sub_con_wrap { width:1270px; margin:0 auto; min-height:1px; padding-top:50px;}</span><span style="font-size: 14.004px;">

<span style="background-color: rgb(255, 255, 255); font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px;">#sub_con_total {width:100%; min-height:1px;}</span></p><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px;"><span style="font-size: 14.004px;"></span></p><div class="line alt2" style="font-family: Consolas, "Bitstream Vera Sans Mono", "Courier New", Courier, monospace; font-size: 12px; color: rgb(51, 51, 51); margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background: none rgb(248, 248, 248) !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.8em !important;"><table class="__se_tbl_ext" style="margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background: none !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.8em !important; font-size: 1em !important; border-collapse: collapse !important;"><tbody style="margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background: none !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.8em !important; font-size: 1em !important;"><tr style="margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background: none !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.8em !important; font-size: 1em !important;"><td class="content" style="margin: 0px !important; padding: 0px 0px 0px 0.5em !important; border-width: 0px 0px 0px 3px !important; border-top-style: initial !important; border-right-style: initial !important; border-bottom-style: initial !important; border-left-style: solid !important; border-top-color: initial !important; border-right-color: initial !important; border-bottom-color: initial !important; border-left-color: rgb(108, 226, 108) !important; border-image: initial !important; outline: 0px !important; background: none !important; float: none !important; vertical-align: top !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.8em !important; font-size: 1em !important; color: rgb(0, 0, 0) !important;"><code class="plain" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; margin: 0px !important; padding: 0px !important; border: 0px !important; outline: 0px !important; background: none !important; float: none !important; vertical-align: baseline !important; position: static !important; left: auto !important; top: auto !important; right: auto !important; bottom: auto !important; height: auto !important; width: auto !important; line-height: 1.8em !important;">#sub_con_wrap { width:1270px; margin:0 auto; min-height:500px; padding-top:50px;}</code></td></tr></tbody></table><p> </p><p><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">#sub_con {width:75%; min-height:1px;  float:left;}</span> </p><p><span style="color: rgb(0, 0, 0);">#sub_con .sub_con_in {padding-left:15px; padding-right:15px;}</span><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"> </span></p><p><span style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">#left_menu {width:25%; height:100%; float:right; text-align:left;}</span><span style="color: rgb(0, 0, 0);"> </span></p></div><p style="word-break: break-all; color: rgb(72, 72, 72); font-family: 돋움, Dotum, sans-serif; font-size: 14.004px;"><span style="font-size: 14.004px;">

댓글을 작성하려면 로그인이 필요합니다.

답변 3개

채택된 답변
+20 포인트

#sub_con_wrap:after{display:block;visibility:hidden;clear:both;content:""} 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

와... 감사합니다. 공부좀 해야겠습니다! 감사합니다

댓글을 작성하려면 로그인이 필요합니다.

sub_con_wrap min-height:500px으로 해놓으셨던데요..--;

 

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

네 1px로 해도 1px로 잡힙니다..

댓글을 작성하려면 로그인이 필요합니다.

css는 상속성이 있어 사이트를 알려주셔야합니다.

부분코드만 올리시면 잘몰라요~ 

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

전체 질문 목록