0

divを containerに追加すると、コンテナが拡張されませんdiv。つまり、コンテナに a を追加するdivと、コンテナがdivオーバーフローしdivます。ご協力ありがとうございます。

main.css :

body {
    font-family:Arial, Helvetica, sans-serif;
    font-size:small;
    margin:0px;
    background:repeat-x url(resimler/Bg.jpg) #57513e;
}
.Container {
    width:960px;
    margin:0 auto;
    background:white;
    **height:auto;
    ** overflow:hidden
}
.UstAlan {
    margin:auto;
    background-image:url(resimler/ConteinerUstBg.jpg);
    height:21px;
}
.Slider {
    margin:auto;
    height:280px;
    border:1px solid red;
    float:left;
    width:960px;
}
.TestAlan {
    margin:auto;
    width:960px;
    background:black;
    float:left
}
.BirTest {
    width:940px;
    margin:auto;
    padding:10px;
    border:1px solid blue;
    margin-top:10px;
    background:red;
    float:left;
    height:auto
}
.Sol {
    height:auto;
    width:450px;
    background:#d7e9ba;
    background:blue;
    float:left;
    margin-left:10px;
}
.Sag {
    height:auto;
    width:450px;
    background:yellow;
    float:right;
    margin-right:10px;
}
.Baslik {
    background:url(resimler/KutucukUst.jpg);
    height:24px;
    width:450px;
}
4

1 に答える 1

0

float:right; を使用している可能性があります。フロート:左;

あなたのhtmlも表示してください..

于 2013-03-05T09:35:11.350 に答える