960gs 歌剧和Internet Explorer 渲染问题
所以我在测试 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.)
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).
Anyone knows what the problem might be?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的 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);
好吧,要么使用
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.