Without wrapping the two <span>
s in their own span
or <div>
and without putting the Lorem ipsum...
in its own, what CSS would make the Lorem ipsum...
start BELOW and not BETWEEN the two pink <span>
s?
.container {overflow:auto}
.left {float:left; background-color:pink}
.right {float:right; background-color:pink}
<div class="container">
<span class="left">LEFT</span>
<span class="right">RIGHT</span>
Lorem ipsum dolor sit amet,
consectetur adipiscing elit
</div>
2
Answers
A little misuse of table-cell, I guess, but this seems to work all by itself:
Does it have to be in the
th
tag? It would be easier with adiv
.UP: Fixed the code taking into account several
th