能够一直浮动td元素? [英] Able to float td elements consistently?

查看:119
本文介绍了能够一直浮动td元素?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

越来越晚,我正在迅速失去思考的能力。



可以浮动< td> 元素在一些体面的浏览器?似乎在Firefox中工作,我听到关于IE的坏话,但是我没有这个项目的枷锁。真的,我很担心Chrome不想玩。



编辑:如果它有帮助,我对这次的浏览器兼容性非常不满,我希望只将这个应用程序部署到一个受控的用户组,它的工具,而不是一个完美的代码模型 - 所以我愿意盲目一个肮脏的黑客,如果有一个去。

display:block



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


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.

解决方案

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.

这篇关于能够一直浮动td元素?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆