Hello, i need a bit of assistance with this problem.
I’m creating a jquery module which stacks divs on top of eachother.
I’m appending divs with a dynamic height and width.
They get a float:left which makes them appear next to eachother untill the max-width is reached and it continues on the next line below.
Is it in anyway possible to “reverse” the process of the floats entering a line below the original line, and make a new line above the original instead of below?
In short the question is: is it possible to make divs (or other block elements) float “upwards” instead of the standard browser order?
As shown in the codepen below, the .box is continued on the line below, what i want is to float it to top. http://cdpn.io/cdHFA
Hmm, you’re right. It doesn’t really affect my case because i’m using a static amount of divs.
I will follow your advice and I’m currently using some jQuery anyway, so I’m going to take a swing at that.