G
G
G0rDi2011-03-20 00:27:04
HTML
G0rDi, 2011-03-20 00:27:04

DIV's one after the other in two columns?

Positioning blocks without extra spaces.
Example
How to make div's follow each other using free space as much as possible? I've already broken my head. Thank you.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
C
Cheese, 2011-03-20
@Cheese

Or create two classes: Divas that should be in the right column are written with rtext style, and vice versa.
.ltext {
display: block;
float: left;
width: 550px;
border: 1px solid #000;
}
.rtext {
display: block;
float: right;
width: 550px;
border: 1px solid #000;
}

D
Dzuba, 2011-03-20
@Dzuba

Make a table with two cells. Add all divs from the left column to the left, add all divs from the right column to the right.

L
lashtal, 2011-03-20
@lashtal

JQuery Masonry .

G
girichev, 2011-03-20
@girichev

hmm, width:50% each?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question