css - 我如何使此表单在所有浏览器上都相同?

标签 css html cross-browser

问题

所以我有一个在 Firefox 上显示的表单与在 Chrome 上显示的不同。除了最后两项 Max-Budget 和 Min-Budget 之外,一切都很好。

Chrome

这是理想的外观。

enter image description here

火狐

这是它在 firefox 上的样子

enter image description here

我该怎么做才能使它们看起来一样?这仅仅是因为我没有留下足够的空间还是我应该使用不同的 CSS?

最佳答案

看起来你的标签是 float:left。您还应该添加 clear:left,这样在这种情况下(标签有点长),下面的标签就不会随之 float 。

关于css - 我如何使此表单在所有浏览器上都相同?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22227697/

相关文章:

css - IE CSS 错误 : background-color: transparent behaves differently to background-color: (any other colour)

css - 附加 Bootstrap css 文件时 Angular 5 构建错误

css - 使用 before 标签在 css 中居中文本

javascript - 如何使用 CSS3/JS 标记图像中的不同部分

python - HTML5 视频无法在 OS X 上的 Firefox 浏览器中正常播放

css - 由于使用样式,svg 中的标记图像在 FireFox 中不可见。怎么修?

jquery - 失去焦点时关闭菜单或单击菜单项

html - 使用 Bootstrap 使面板标题中的按钮垂直居中对齐

html - 在 emacs HTML 模式下禁用自动回车

css - 显示 : inline-table equivalent crossbrower