gpt4 book ai didi

html - 在文本之后放置图像而不在行之间添加空格

转载 作者:行者123 更新时间:2023-11-27 23:41:14 24 4
gpt4 key购买 nike

在这个 fiddle 中 https://jsfiddle.net/spdvoc06/最后一行被拉伸(stretch)以放置图像。谁能帮忙修一下?我需要在文本之后放置第二张图片,而不在行与行之间添加空格。

<img src="https://www.getdesignschool.com/wp-content/uploads/2015/07/up.jpg" alt="" width="56" height="44" />
<p style="display:inline;">I want to learn how to design but I spend so much time just reading I never remember it all. I need something that teaches me in practical way, and gives me feed-back on what I've created...
</p>
<img src="https://www.getdesignschool.com/wp-content/uploads/2015/07/bottom.jpg" alt="" width="56" height="44" />

最佳答案

在最后一张图片上添加position:absolute

https://jsfiddle.net/y93su8s1/2/

关于html - 在文本之后放置图像而不在行之间添加空格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31640833/

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