I have a two-column css layout.
Each column is made up of ditto-generated divs. Left column items are floated left. Right column item are floated right.
Each div is the same height, until you click a link that toggles more info in the box, forcing it to expand vertically. This pushes the adjacent div down the page.
I’d like to have the left and right column items able to expand vertically, without pushing the adjacent column divs down.
At first I tried to do this with css, but now i think if I could have ditto put every other item into THE left column and THE right column, this will be solved... but... is it possible to do this with ditto?
Thanks for the reply!
Yes, I want to put the even divs into one parent column div, and the alt/odd divs into another parent column div. How can this be accomplished with ditto?
Thx for the clarification...
cheers/k
@trumpetmic: How did you get on with this, i need to achieve the same sort of thing but with 3 columns (so the odd and even solution wont work for me) and have the same problem of adjacent divs moving down when info box expands.
My first thought would be to use PHx but never used it before so not sure it’s even possible or where to start. But my thinking was counting how many results and dividing by the by 3 and placing x amount in each column but don’t know where to start. If any one has achieved anything similar, any advice would be much appreciated.
Many Thanks
Ben