怎样让两个DIV在同一水平线上面显示时间:2023-03-09 18:00:35 css定义第二个div. float:right或者left。 margin-top:0px 确保第二个DIV的宽度。如果宽度宽的话,会自动到下方的。