如题所述
<div>
<img src="图片路径" />
<p style="background:url('图片路径') no-repeat;">background-image</p>
</div>
<img src="图片路径" />
<p style="background:url('图片路径') no-repeat;">background-image</p>
</div>
温馨提示:答案为网友推荐,仅供参考
第1个回答 2014-11-05
那是 html+css做的事情, php是服务端负责处理数据的。本回答被提问者和网友采纳