如何设置2个div之间的间距?

2025-05-16 06:48:17
推荐回答(1个)
回答(1):

两个div分别设置 position : relative ,
然后使用left设置间距即可,若需要水平间距,加上float:left