So I know I am going about this the wrong way, but I am stuck so I figured you guys could help me out. So the idea is that I have two containers. One is only for content that is less that a certain height, and one is for content that is greater than a certain height. So here is the basic sketch of a code that wont work to give you a basic idea:
$('#content').each(function(){
if($(this).height()>120){
$('#container2').append('the content');
};
else{
$('#container').append('the content');
};
});
Here is a jsfiddle that shows what the outcome of this should look like: http://jsfiddle.net/3TxR9/1/
edit 1: the id content is wrapping a large amount of content that is all difference, which is why I want to have different containers for different heights. So 'the content' would be a specific content inside the id content this way each piece of content is evaluated so it goes to the correct container. And the jsfiddle I linked IS NOT the correct coding, it is just to show what should happen when the correct jquery is applied