What you need to do is pure HTML/CSS. Check out the links for tutorials on that.
Similar to a CSS-driven horizontal menu, you need to flow the blocks with something like display:block and probably set each block to an exact width.
However, my instant recommendation is DON'T. (Even without knowing why you want it

)
I HATE horizontal flows like that. We are all used to COLUMN flows, like newspapers. When there's a division, we automatically look
down,
not to the right. Every time I've ran into a design like that, I always get confused and frustrated. For example, a membership address book (printed) I have is like that, and I continually get the name/address and picture (which are in different columns like this) mixed up.