If I have three elements flaoted to right, why order is following (see jsfiddle) element 1 is first element on right side, when element 3 is actually last element.
O
The first element moves to the right, stops when it hits the edge of the container and allows the next element to move up to its left.
The second element then does the same, except it stops when it hits the left edge of the first element.
… and so on.