위의 div가 내용량이 적을지라도 내 바닥 글은 페이지 하단에 머물도록 설계되었습니다. 최근까지 일 해왔고, 어떻게 든 부러 뜨린 것 같습니다. 좀 봐 주시겠습니까?끈적 끈적한 CSS 바닥 글이 깨졌습니다.
미리 감사드립니다.
CSS :
body {
margin: 0;
padding: 0;
height: 100%;
font: 100% Helvetica, sans-serif, Arial, sans-serif;
color: #000;
background-color: #FFF;
background-image: url(images/BGmain.png);
background-repeat: repeat-x;
}
/*----------
Div styles
----------*/
#container {
min-height: 100%;
position: relative;
}
.header {
padding: 0 0 230px 0;
text-align: center;
background-image: url(images/BGlogo_55top.png);
background-repeat: no-repeat;
background-position: top;
}
.column1 {
padding-bottom: 50px;
width: 960px;
margin: 0 auto;
position: relative;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
height: 50px;
text-align: center;
}
/*----------
Other
----------*/
.plainimg {
border-style: none
}
/*----------
Text styles
----------*/
p {
font-size: 80%;
color: #333;
line-height: 150%;
text-align: left;
padding: 1px 15px 1px 15px;
}
h1 {
font-size: 100%;
color: #000;
padding: 0;
}
h2 {
font-size: 100%;
font-weight: 500;
color: #000;
padding: 0;
text-align: center;
}
/*----------
Links
----------*/
a.navlink:link, a.navlink:visited {
text-decoration: none;
display: inline-block;
color: #F1F1F1;
width: 120px;
text-align: center;
padding: 0 0 3px 0;
font-size: 80%;
}
a.navlink:hover, a.navlink:active {
text-decoration: none;
display: inline-block;
color: #FFF;
background-color: #000;
width: 120px;
text-align: centre;
padding: 0 0 3px 0;
font-size: 80%;
}
a:link, a:visited {
text-decoration: none;
color: #AEAEAE;
}
a:hover, a:active {
text-decoration: underline;
color: #999
}
사업부의 배열은 다음과 같다 :
<div id=container>
<div class=header></div>
<div class=column1></div>
<div class=footer></div>
</div>
CSS를 모두 복사하여 붙여 넣기 할 필요는 없습니다. 필요한 코드 만 있으면됩니다. – vtambourine
@ 탐험 : 나는 정중하게 반대합니다. 전체 코드는 좋으며 종종 선호되거나 필요합니다. 너무 적게 붙이는 것보다 잘못 붙여 넣는 것이 좋습니다. –
분명히 문제는 아니지만 CSS에 오류가 하나 있습니다.'text-align : center; 값, 88 행 주위. –