【发布时间】:2019-05-29 20:52:25
【问题描述】:
我有一个使用此代码放置的固定图像:
<a href="http://website.com" onMouseOver='img_mo5.src="style/images/download-btn-hover.png"' onMouseOut='img_mo5.src="style/images/download-btn.png"'><img style="position: fixed; bottom: 0; right: 865px; height: 58%;z-index: 0;" src="style/images/download-btn.png" name="img_mo5" alt="" width="450px" height="300px"></a>
问题在于,在更大的屏幕中,图像被放置在屏幕中间而不是左下角(在 15 英寸屏幕上可以正常工作)
如何在 HTML 中使用 inline-css style= (attribute) 代码解决此问题?
【问题讨论】:
标签: html css positioning css-position