使用绝对定位解决问题

发布于 2024-08-06 23:52:14 字数 116 浏览 1 评论 0原文

大家好,我有一个图像,我绝对定位,它在 Firefox 上完美运行,但在 safari 上完全不同的地方,有没有其他方法可以将其定位在我想要的位置(在另一个图像之上)而不使用绝对定位。我已经尝试过边距和填充,但不起作用

Hey all, I have a image I am absolutely positioning and it works perfect on firefox, but in a totally different spot on safari, Is there any other way to position it where I want(on top of another image) without using absolute positioning. I have already tried margin and padding and that does not work

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

心头的小情儿 2024-08-13 23:52:14

您可能遇到无效标记,缺少doctype,或两者。

You're likely experiencing invalid markup, a missing doctype, or both.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文