我需要将这两个 div 堆叠在一起,但我很难找到一种方法来实现它。我需要将所有文本保持在相同的位置,但需要能够让 div 位于一个和另一个之上,而无需为它们设置绝对位置。
这是我所拥有的...
<body>
<div style="position:relative;">
<div style="position:absolute">
<p style="width: 762px; left:193px;" class="large-bold-font">hello hello helloT</p>
<p id="Customer.Description" style="left: 397px; top: 45px;" class="small-font"></p>
</div>
</div>
<div style="position:relative;">
<div style="position:absolute">
<p style="width: 762px; left:193px;" class="large-bold-font">hello hello helloT</p>
<p id="Customer.Description" style="left: 397px; top: 45px;" class="small-font"></p>
</div>
</div>
</body>