我在一个页面上显示客户列表,在右侧,我有一个日历显示安排新任命日期。当测试输出时,我发现如果当天有很多客户来到,那么列表超出了容器的长度。怎样处理这个..我如何防止内容不超过容器的长度?
一些代码:
容器:
#container {
background-color: #FFFFFF;
margin:0 auto;
min-height: 600px;
width: 900px;
border:0px solid #999999;
margin-top:30px;
font-size:15px;
color: #000000;
margin-bottom:60px;
position:absolute;
}
#calendar {
margin-left:400px;
}
可以用[的jsfiddle(http://jsfiddle.net/)你展示你的代码? – thirtydot 2011-04-11 21:53:00
你能发布html吗?编辑:+1以上;) – Calum 2011-04-11 21:53:35