怎样让两个DIV在同一水平线上面显示

css定义第二个div.
float:right或者left。
margin-top:0px
确保第二个DIV的宽度。如果宽度宽的话,会自动到下方的。

猜你喜欢

转载自www.cnblogs.com/mr-wuxiansheng/p/10334226.html
今日推荐