I've got a long div container set to display:table
and & divs within it set to display:table-cell; vertical-align: middle
.
I'm really happy with the results of vertical alignment, but:
- I don't know the width of these 3 divs,
- I want one of them to be on the very right side of div container (minus padding of course),
float: right
doesn't work withdisplay: table-cell
.
Here's an example (I want to float the golden divs to the right). I can't use JS. I need it to work in IE7+, or IE8+ if impossible for IE7. Any hints / ideas?