フッターの幅を 100% に設定しましたが、スクロール バーの幅が 100% を超えています。理由はありますか?100%を削除するとスクロールバーが表示されないため、幅に問題があることはわかっています。ページは body>wrapper>footer に分割されています ここに私のコードがあります:
#footer {
margin-top: 30px;
color: white !important;
padding-bottom: 15px;
background: black;
text-align: center;
padding: 20px;
height: 40px;
min-width: 1000px;
width:100%;
position:absolute;
bottom:0;
}
そして本体のCSSがあります:
body {
font: normal 12pt Georgia, serif;
color: #111;
background: #990000;
margin: 0 auto;
text-align: center;
background-position: 50% 50%;
min-height: 100%;
margin:0;
padding:0;
height:100%;
}
そしてラッパーcss:
#wrapper {
min-height:100%;
position:relative;
}