I know how to make 2 divs float side by side, simply float one to the left and the other to the right.
But how to do this with 3 divs or should I just use tables for this purpose?
I know how to make 2 divs float side by side, simply float one to the left and the other to the right.
But how to do this with 3 divs or should I just use tables for this purpose?
Just give them a width and
float: left;
, here's an example:I didn't see the bootstrap answer, so for what's it's worth:
let Bootstrap figure out the percentages. I like to clear both, just in case.
Float all three divs to the left. Like here: