我是要做左中右结构的。。但是右边那块(category)一直在下面。。求解!在线等!
@charset "utf-8";
/* CSS Document */
body{ background-color:#dc223a; background-repeat: repeat;}
.container{ width:900px; margin: 0 auto;}
.banner{ height:300px; background-image: url(../images/banner1.jpg); background-repeat: no-repeat;}
.globalllink{ margin:0;padding:0;}
.globalllink ul{ list-style:none; padding:0; margin:0}
.globalllink li{ float:left; text-align:center; width:180px; height:40px; line-height:40px; background: url(../images/button1.jpg) no-repeat; color: #CC00FF; font-family: "幼圆"; font-weight: bold;}
.globalllink li a:hover{ display:block; background:url(../images/button1_bg.jpg) no-repeat;}
.left{
float:left;
margin:0;
width: 200px;
background: #FFFFFF;
}
.login{ background-color:#FF9; padding:10px 0px 0px 10px;}
.category{
float:right;
margin:0;
width:200px;
background: #FFFFFF;
}
.left p{ margin:0; padding:0;}
.login .text{ background:#FF9; width:90px; border:0; border-bottom: solid 1px #333333;}
.login .btm{ background:#ffeff0; border: solid 1px #333;}
.main{ padding:10px; margin:0px 300px 0px 300px; margin-top:0px;}
.main .latest{ background:url(../images/main.jpg) no-repeat; padding:35px 0px 0px 0px;}