div 并排

<style type="text/css">
#d1 {
float:left;
background:#f00;
}
#d2 {
float:left;
background:#0f0;
}
</style>

posted @ 2013-06-24 17:48  shenghaishiweini  阅读(134)  评论(0编辑  收藏  举报