How can I check the size of a div with jquery? The height of this div is automatic, but I would like to limit its size. I'm assigning a class to this element, since it's within a loop of my server application, so it will repeat itself. The logic would be as follows: If it is less than 200px, I would like to equal 200px.