960gs 歌剧和Internet Explorer 渲染问题

发布于 2024-12-16 02:26:30 字数 324 浏览 5 评论 0原文

所以我在测试 960gs 时遇到了 Opera & 问题。 IE8浏览器。 下面是在 Opera 中渲染的页面图像(但在 IE8 中也会发生同样的错误。)
在此处输入图像描述

我不关心按钮的样式是否正确,但让我烦恼的是水平对齐的 div。

下面是用 Chrome 渲染的同一页面(在 Firefox 中看起来相同)。 在此处输入图像描述

有人知道可能是什么问题吗?

So I was testing out the 960gs when I encountered a problem with the Opera & IE8 browser.
Below is an image with the page rendered in Opera (But same error happens in IE8.)
enter image description here

I don't care about the buttons not being styled correctly, but it's the divs aligning horizontally that bugs me.

Below is the same page rendered with chrome (looks the same in firefox).
enter image description here

Anyone knows what the problem might be?

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

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

发布评论

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

评论(2

你的背包 2024-12-23 02:26:30

您的 HTML 标签不正确。按钮不能有 href。只有链接(标签)可以。

你的 CSS 没有 Opera 的渐变,IE 仅有 Safari/Chrome 的渐变。你可以使用 -o-linear-gradient(top, #ade2ff, #0588fa); 来做到这一点。

Your HTML has incorrect tags. buttons cannot have hrefs. Only links (a tags) can.

Your CSS does not have gradients for Opera, IE only for Safari/Chrome.You would do that using -o-linear-gradient(top, #ade2ff, #0588fa);

燕归巢 2024-12-23 02:26:30

Well, either you use <button> or <a>. If you start your buttons with <button> you can't end them with <a>. Just choose one of them and your grid layout works.

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