div悬浮在另一个div上.div1{position: relative;} .div2{position: absolute;}如果想要div2浮在div1的下方,可以设置top属性,即.div2{position:absolute;width:200px,text-align:right,top:100px:}