css达人进!!!

yh235 2007-06-13 02:59:41
body {
background-color: #000000;
}

#container {
background: red;
width:980px;
height:500px;
margin: auto;
}
#top {
background: green;
height:50px
}
#body {
background:#0000FF;
height:600px;
width:980px;

}
#foot{
background:#996600;
height:50px
}
.zuo{
float: left;
width: 300px;
height:500px;
background: darkgreen;
}
.zhong{
float:none;
width: 380px;
height:500px;
background:#33FF66;
}
.you{
float:right;
width: 280px;
height:500px;
background: darkgreen;

}
=================================
上边那个哪错了?为什么得不到我想要的效果?
这是现在的效果
http://hiphotos.baidu.com/benaheng/pic/item/5c697c38637ac42596ddd8f9.jpg

为什么.you会跑到下边?我是想让它和那两个并排在一行啊
刚学CSS~不懂~
...全文
137 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
weiang_1983 2007-06-13
  • 打赏
  • 举报
回复
.zhong{
float:left;
width: 380px;
height:500px;
background:#33FF66;
}

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧