この写真のようにCSSで2列のテンプレートを作成しました。
メインdivはmainです。内部に2つのダイビングがあります。DIVサイダーには背景画像があります。そしていつも見せたいです。今、私は2つの問題を抱えています。まず、デフォルトでは画面の高さをカバーしていませんmin-height=...
。次に、これを行うと、ページをスクロールした後、画面の高さ全体をカバーするために背景画像が繰り返されません。
html {
margin:0 0 0 0;
height: 100%
}
body {
font-family:Arial;
font-size:9pt;
color:#333333;
line-height:200%;
margin:0 0 0 0;
background: #f0f0f0 url('../images/bg-radial-gradient.gif') fixed 230px top no-repeat;
width:100% !important;
height: 100%
}
#main {
width:100%;
min-height: 100%
}
#sidebar {
width:231px !important;
float:left;
background-image:url('../images/sidebar_bg.PNG');
min-height: 100%;
}
#container {
float:left;
padding:25px 25px 25px 25px;
width:70%;
min-height: 100%
}
どうしたの?
編集:これは私の背景画像です