gpt4 book ai didi

css - Div 的背景图像未出现

转载 作者:行者123 更新时间:2023-11-28 13:31:35 24 4
gpt4 key购买 nike

我将图像放在也有背景图像的 div 中。但是只有图像本身出现了,父div的背景图像没有出现。

我的代码:

  <div id="proceedbody" style="background: url(http://www.asifsinan.com/wp-content/uploads/2012/07/please-proceed-image.jpg); background-repeat: no-repeat; line-width:810px; line-height: 718px;"><img id="proceed" style="position: absolute; top:200; left:350;" src="http://www.asifsinan.com/wp-content/uploads/2012/07/please-proceed-matter.png"></div>

最佳答案

<div id="proceedbody" style="width:810px; height:718px; background: url(http://www.asifsinan.com/wp-content/uploads/2012/07/please-proceed-image.jpg) no-repeat 0 0;">

关于css - Div 的背景图像未出现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11453085/

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