My problem might be naive, but basically I have a simple Jquery script running on a site to determine the margin height of divs based on the contained image's height:
<script type="text/javascript">
$('.artobject').css('margin-bottom',$('.img-wrap').height());
</script>
The problem is that it runs once, but after the page is reloaded the code begins working differently. I believe this is a cache issue, but honestly have no idea. i've tried various different cache clearing codes, but to no avail.
The site where this code is applied is http://jessiama.com/elzie/index.html.