I have 8 DIVs that alternate with respect to the content they hold.
DIV 1 - Category
DIV 2 - Sub-Category
DIV 3 - Category
DIV 4 - Sub-Category
etc.
The end goal, if possible, is to have the Category DIVs floating horizontally beside each other and the Sub-Category DIVs positioned below their corresponding Category DIV.
DIV 1 DIV 3 DIV 5 DIV 7
DIV 2 DIV 4 DIV 6 DIV 8
I am not allowed to change the current structure, such as nest DIV2 within DIV1.
I also want to keep away from absolutely positioning the Sub-Category DIVs due to the dynamic way the DIVs are created, which could result in changing widths, etc.
In essence, I want to be able to position a DIV relative to the DIV before it.