Hi all,
I've got a tricky CSS problem that I could use some help with. What
I'm trying to do is to set up a column-based layout, with each column
holding a number of <divblocks. These div blocks can contain user
content, so it's not possible to know their height.
So far this is easy enough to achieve using absolutely positioned or
floated divs for the columns. The problem is that I want the div boxes
in the columns to be able to span 2 or more columns, without
overlapping boxes in other columns. Essentially I want to be able to
expand a div in column 1 and have it "push" the divs in column 2 out
of the way. Unfortunately, if I've used absolutely positioned divs to
model the columns, the content of those columns is removed from the
page flow, so the content will overlap. Can anyone think of a way to
do this?
Many thanks,
Adam
I've got a tricky CSS problem that I could use some help with. What
I'm trying to do is to set up a column-based layout, with each column
holding a number of <divblocks. These div blocks can contain user
content, so it's not possible to know their height.
So far this is easy enough to achieve using absolutely positioned or
floated divs for the columns. The problem is that I want the div boxes
in the columns to be able to span 2 or more columns, without
overlapping boxes in other columns. Essentially I want to be able to
expand a div in column 1 and have it "push" the divs in column 2 out
of the way. Unfortunately, if I've used absolutely positioned divs to
model the columns, the content of those columns is removed from the
page flow, so the content will overlap. Can anyone think of a way to
do this?
Many thanks,
Adam
Comment