html - Bootstrap 模式在 Chrome 和 Firefox 中看起来不同

标签 html css twitter-bootstrap-3

同一个 bootstrap modal 内部元素的高度在两个浏览器中是不同的。

在 Chrome 中,.modal-dialog.modal-content 的高度更大。

这是 jsfiddle:

https://jsfiddle.net/qLcopxsb/

最佳答案

现在还是一样,see this fiddle

我已经改变了这个:

form {
    margin: 40px 40px 0;
}

但是我无法解释为什么,我也不知道为什么。也许检查此链接以获取有关此现象的更多信息: Form padding differences in Firefox and Opera/Chrome/IE

关于html - Bootstrap 模式在 Chrome 和 Firefox 中看起来不同,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36288173/

相关文章:

html - 如何关闭单选按钮功能?

javascript - 在纯 JS 中,我试图设置两个相似但编号不同的类,或者将同一个类设置为两个不同的元素

css - Bootstrap : changing the order of the column layout in desktop layout

java - Bootstrap 3 模式窗口不适用于 spring mvc

html - 将可点击的帮助图标添加到 Bootstrap 导航栏中的导航栏菜单项

javascript - 如何从 MP3 文件中获取振幅数据?

html - 调整窗口大小后,右侧 float 元素显示在 Chrome 中变得困惑?

html - 如何从 CSS 定位未知的 <div>

php - Wordpress 在选择自定义字段时应用特定的 css

javascript - 基于深层 child 文本内容的 jQuery 选择器