能够一致地浮动 td 元素吗?

发布于 2024-10-08 21:04:06 字数 242 浏览 0 评论 0原文

天色已晚,我正在迅速失去思考能力。

是否可以在一些不错的浏览器中一致地浮动 元素?似乎可以在 Firefox 中工作,我听说过有关 IE 的坏话,但随后我就摆脱了这个项目的这些束缚。真的,我担心 Chrome 缺乏玩的欲望。

编辑:如果它有帮助的话,我这次对浏览器合规性非常松懈,我希望仅将此应用程序部署到受控用户组,并且它是一个工具,而不是完美代码的模型 - 所以我愿意如果有一个肮脏的黑客,请对其视而不见。

It's getting late and I'm rapidly losing the ability to think.

Is it possible to float <td> elements consistently across a few decent browsers? Seems to work in Firefox, I hear Bad Things about IE but then I'm free of those shackles for this project. Really, I'm concerned about Chrome's lack of want to play.

EDIT: If it helps at all, I am extremely lax about browser compliance this time 'round, I expect deploying this app only to a controlled user group, and its a tool, not a model of perfect code - so I'm willing to blind-eye a dirty hack if there's one going.

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

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

发布评论

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

评论(1

清风挽心 2024-10-15 21:04:06

虽然浮动 td 很奇怪并且不应该这样做,但我的建议是在尝试其他操作之前让它们 display:block

我需要查看一些代码才能更具体地了解要做什么。

While floating td is weird and shouldn't be done, my call would be to make them display:block before trying anything else.

I'd need to see some code in order to be more specific about what to do.

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