Forum Moderators: not2easy
The way I want to break lines is if the browser says, ok this is too big to fit this block on this line, NOW break line and put it on the next. But not to break before and after is say I can fit four on the same line via inline?
Resolution of course is the dynamic issue at hand.
Any ideas?
I want to make the objects blocks but not with a line break before and after.
This is one of the primary functions of the float [w3.org] property. Floating block level elements in the same direction stacks them horizontally within the available space (as opposed to the default block-level behavior of vertical stacking), wrapping subsequent floats to a new line when the available space is filled.
Contain the floated blocks within a floated container to maintain backgrounds and/or borders, and it's generally a good idea to maintain some sort of uniform height if you suspect the floats will be wrapping, as uneven heights cause some amusing (provided there's no deadline involved) results.
cEM