css 질문,,, footer 출력이 안되네요 ㅜ
css 질문입니다.
footer 출력이 안되는데 초보자라 잘 모르겠어요 ㅜ
*{margin:0; padding:0;}
body {
font-family: Calibri, Arial, "맑은 고딕", "돋움", "돋움한체";
color: #212121;
}
li {list-style:none;}
a {text-decoration:0;}
img {border:0;}
#main_header {
/*중앙 정렬*/
width:1105px; margin:0 auto;
/*절대 좌표*/
height:50px;
position:relative;
}
#main_header > #title {
position:absolute;
}
#main_header > #main_gnb {
position: absolute;
right: 0px;
top: 17px;
width: 710px;
}
#title {background:#ff3f51;
}
#main_gnb > ul {overflow:hidden;}
#main_gnb > ul > li {float:left;}
#main_gnb > ul > li > a {
display:block;
padding:10px 0px 0px 65px;
text-decoration:none;
color:#fff;
font-family: Calibri, Arial, "맑은 고딕", "돋움", "돋움한체";
font-size:15px;
font-weight:bold;
}
#main_gnb > ul > li > a:hover {
color:#333333;
text-decoration:none;
font-weight:bold;
}
#content1 {
/*중앙 정렬*/
width:1105px; height: 400px; margin:0 auto;
/*수평 레이아웃 구성*/
overflow:hidden;
padding:10px 10px 10px 10px;
}
#content2 {
/*중앙 정렬*/
width:1105px; height: 100px margin:0 auto;
/*수평 레이아웃 구성*/
overflow:hidden;
padding:10px 10px 10px 10px;
}
#footer {
overflow: hidden;
position: absolute;
width:1105px; height:100px;
margin:0 auto;
background-color:#5a5a5a;
}
왜그럴까요,,,
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
커네드커네드
11년 전
저는 footer부분이 나오는데요~
position: absolute;
이건 왜 넣으셨는지 모르겠네요~
이것땜에 wrapper가 footer를 인식을 못해요~
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인전체 질문 목록
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
답변대기
채택
답변대기
답변대기
답변대기
답변대기
채택
채택
답변대기
답변대기
답변대기
채택