how to position two divs above each over

后端 未结 5 662
耶瑟儿~
耶瑟儿~ 2020-12-14 00:32

Is there any way to start drawing divs from the same point? That means if I add new div and then I add another div, they will appear above each other. Because I want to move

5条回答
  •  甜味超标
    2020-12-14 01:19

    You can use absolute positioning.

      #num1,#num2{ display : inline position:absolute; left:50px;top:10px; }
    

提交回复
热议问题