높이를 자동으로 늘어나게 하기?
본문
width:1040px; 에 배경칼라를 폭100%로 넣었습니다
<style>
/* 폭 100% 적용하기 */
#wrap{height:360px;}
#wrap .inner{width:100%;position:absolute;margin:0 auto 30px;background:#f1f1f1;left:0px;/*top:300px;*/}
#wrap .inner .c {width:1040px;margin:0 auto;}
</style>
#wrap{height:360px;} 을 내용이 길어지면 자동으로 늘어나게 하고 싶은데요.
어떻게 수정해야 하나요?
답변을 작성하시기 전에 로그인 해주세요.