hi,
if you float those elements to the left, the fourth element (if it doesn’t fit in the row ) will start below in a new line...
j
-
MODX Staff
- 2,502 Posts
Just force the container to have a fixed height. Make the fixed height longer than the number of max lines and use Ditto params (if that is what you are using) to limit the output). I tried it with 200px and it works. I’d also not use 33% width as your width as this may be calculated different in different browsers. I’d take the actual width of the container and divide by 3 and use a px width.
Cheers,
Jay
Author of zero books. Formerly of many strange things. Pairs well with meats. Conversations are magical experiences. He's dangerous around code but a markup
magician.
Blog ✦
Twitter ✦
LinkedIn ✦
GitHub