拆分按钮在 Chrome 和 Firefox 中显示不同
我有以下分割按钮,由
http://jsfiddle.net/periklis/B8PQg/
制成然而,虽然在 chrome 中看起来不错,但在 firefox (10) 中按钮部分似乎有点错位。如果我将其转换为它看起来不错,但这不是我想要的。有什么线索吗?
I have the following split button, made out of
http://jsfiddle.net/periklis/B8PQg/
However, although it looks ok in chrome, in firefox (10) the button part appears slightly misplaced. If I convert the to it looks ok, but that's not what I want. Any clues?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
不确定这是否是同一个问题,但是当在 ASP.NET 中使用 Bootstrap 时,我发现按钮的左侧颜色不佳,在 FF 中尤其糟糕,但在 Chrome 和 IE 中则不然。
如果将
border-left: #0074cc 1px Solid;
添加到btn-primary
的样式中,它就会消失,并且1px
边框足够小不引人注目。Not sure if this is the same issue, but when using Bootstrap in ASP.NET I found that the buttons had a off-colour left hand side, particuarly bad in FF, but less so in Chrome and IE.
If you add
border-left: #0074cc 1px solid;
to the style forbtn-primary
it disappears, and the1px
border is small enough not to be noticeable.我刚刚收到引导程序人员的回复(https://github.com/twitter/bootstrap/issues/2134),看来他们仍在解决这个问题和类似的问题。他们建议使用按钮元素(这不适合我,但无论如何)
请注意:这是针对 bootstrap 版本 2.0
I just heard back from the bootstrap guys (https://github.com/twitter/bootstrap/issues/2134) and it appears that they're still working on this and similar issues. They suggested using a button element (which doesn't suit me, but whatever)
note to future: this is for bootstrap version 2.0