0

ブラウザウィンドウをドラッグしてモニターの半分のサイズに自動的に調整するたびに、横に空のブロックが表示されます。幅を最小幅に変更してみました:100%ですが、それでも問題は解決しません。何か案は?

ウェブサイト: http: //andrewgu12.kodingen.com/graphicDesign/index.php

CSS:

 div#bodyContent-container { 
    min-width:100%;
    height: 100%;
    min-height:1100px;
    background:#f3f3f3;
    margin: 0 auto;
    padding: 0;
 }
 div#bodyContent {
    width:960px;
    height:100%;
    min-height: 1024px;
    margin: 0 auto;
    padding: 0;
    -webkit-box-shadow: 6px 0px 10px -7px #888, -6px 0px 10px -7px #888;
     -moz-box-shadow: 6px 0px 10px -7px #888, -6px 0px 10px -7px #888; /* Firefox 3.6 and earlier */
    box-shadow: 6px 0px 10px -7px #888, -6px 0px 10px -7px #888;
    padding-top: 200px;
 }
footer {
    min-width: 100%;
    height:50px;
    color:#ffffff;
    text-align: center;
    padding-top: 20px;
    bottom: 0;
    background: #161616; /* Old browsers */
    background: -moz-linear-gradient(top,  #161616 0%, #202020 92%, #131313 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#161616), color-stop(92%,#202020), color-stop(100%,#131313)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #161616 0%,#202020 92%,#131313 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #161616 0%,#202020 92%,#131313 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #161616 0%,#202020 92%,#131313 100%); /* IE10+ */
    background: linear-gradient(top,  #161616 0%,#202020 92%,#131313 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#161616', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
}
4

1 に答える 1

1

こんにちは今あなたを定義し、 この問題body min-width:960px;修正しました

このように

body{
min-width:960px;
}

結果は

ここに画像の説明を入力してください

于 2012-11-22T06:12:38.880 に答える