Is it possible to get right float div’s to always ‘stack up’ under each other?
For example I am trying to do something like this:
> ---------------------------------+
> |Container div | div1|
> |Fixed width +--+----+
> | |div2|
> | +----+----+
> | | div3|
> | +---------+
> | |
> +--------------------------------+
Div1, 2, and 3 are variable width and height. If I just float them all right, they won’t always stack up like that, sometimes div2 will be put to the left of div1 etc. because the layout tries to minimise the height of the container. I would like them to always stack up under each other.
These css rules should put them on right aligned and stacked
See example fiddle.
Screenshot

Source