gpt4 book ai didi

css - 将元素放置到 DIV 的末尾

转载 作者:太空宇宙 更新时间:2023-11-04 16:23:58 24 4
gpt4 key购买 nike

请在此处查看我的 DIV 的外观:

http://www.tiikoni.com/tis/view/?id=c69669e

这是我为那个 DIV 编写的代码:

 <div style="background-color:#99CCFF;white-space: nowrap">
<hr>
<p>
<span STYLE="font-size:24; font-weight:bold; color: black">Site:</span>
Downtown Denver DataCenter - CCODEN44 |
<span STYLE="font-size:24; font-weight:bold; color: black">Device:</span>
CCODEN44-ACME-RTR-1 |
<span STYLE="font-size:24; font-weight:bold; color: black">Interface:</span>
Wilmington DataCenter, DC
<a href="url">Print</a>
<hr>
</p>
</div>

我在找什么:我想将打印移到布局的末尾。

最佳答案

你的布局是错误的。尝试将其分成两个 div,并使用 css float 技术来完成放置。绝对定位不会在不同分辨率下放大或缩小。

关于css - 将元素放置到 DIV 的末尾,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5974299/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com