- Hey guys: I know it exists, but I can’t remember what. I’ll try float just in case.
It depends on what you mean :). What exactly were you trying to accomplish via display:table-cell?
two divs on the same plane.
If you mean horizontally next to each other then yes use floats :). THey are the easiest.
What table-cell gives you (if you have all the other relevant code) is when one box gets taller, the other box does too. IE6 and 7 won’t do this, so they get floats either way. Or some other trick.
Me, if I don’t need that special addjusting-height behaviour, I just use floats right at the beginning.