I’ve got two spans in a div. I want to align them next to each other. I’m doing this by floating them both left and right. The problem is that these spans have variable heights (they slide down when you click for ‘more options’). So when their heights are changed during runtime (by sliding down), they won’t push down the elements under them. If there’s a way to align them without floating them, that would work.
Share
Maybe an element with “clear:both” after those spans will solve your problem?