CSS Sprite 现在显示一次 uploadedhtr

发布于 2024-08-15 05:40:40 字数 334 浏览 3 评论 0原文

http://www.keironlowe.host56.com/Website%20Testing/index.html html

在文本段落下方的底部,我有两张带有悬停效果的图像,一张显示“联系我们”,另一张显示“有工作!”

当我在本地计算机上测试站点时,它们就在那里,但是当我将它们上传到加载页面时不存在的服务器时,锚点仍然在那里,当您将鼠标悬停在它们上方时,您可以看到,只是不是图像。

怎么了?

http://www.keironlowe.host56.com/Website%20Testing/index.html

At the bottom below the paragraph of text I have two images with hover effects one says Contact us and another says Jobs Available!

These are there when I test the site on my local machine, but when I upload them to a server there not there when I load the page, the anchors are still there you can see that when you hover over them, just not the images.

What's wrong?

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

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

发布评论

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

评论(1

囚你心 2024-08-22 05:40:40

第一个问题是你试图使用背景图像来表达内容。如果您确实需要图片,那么它应该是 元素(带有 alt 属性)。

第二个问题是“http://www.keironlowe.host56。 com/Website%20Testing/IMG/CTAButtons.png”是一个 301 重定向到“http://error .000webhost.com/”,似乎没有响应。

The first problem is that you are trying to use a background image to express content. If you really need a picture, then it should be an <img> element (with an alt attribute).

The second problem is that "http://www.keironlowe.host56.com/Website%20Testing/IMG/CTAButtons.png" is a 301 redirect to "http://error.000webhost.com/", which doesn't seem to be responding.

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