能够一致地浮动 td 元素吗?
天色已晚,我正在迅速失去思考能力。
是否可以在一些不错的浏览器中一致地浮动 元素?似乎可以在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
虽然浮动 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.