I've created a jsFiddle to illustrate the problem I am having with some images:
The HTML for the dual column layout is like:
<div style="">
<div id="divContactTexas" style="width: 50%; float: left; background-color: red;">
Lorem ipsum
<img src="http://brownfieldsubslab.com/texas.gif" />
</div>
<div id="divContactCalifornia" style="width: 50%; float: left; background-color: blue;">
Lorem ipsum
<img src="http://brownfieldsubslab.com/california.gif"/>
</div>
</div>
var texasHeight = document.getElementById('divContactTexas').scrollHeight;
console.log("texasHeight:"+texasHeight);
var californiaHeight = document.getElementById('divContactCalifornia').scrollHeight;
console.log("californiaHeight:"+californiaHeight);
var maxHeight = (texasHeight>californiaHeight) ? texasHeight : californiaHeight;
console.log("maxHeight:"+maxHeight);
document.getElementById('divContactTexas').style.height=maxHeight+'px';
document.getElementById('divContactCalifornia').style.height=maxHeight+'px';
I have a mockup page on the live site: http://brownfieldsubslab.com/contact.html
So then I am having a trouble mainly in Chrome where as I change the size of the browser window more and more narrow the images at some point when width of browser window is small starts to be cut off mainly in Chrome. I have experimented with just adding more pixels to the height it does alleviate the problem but I am wondering why the image gets chopped off is there a way to prevent this?
The problem starts to look like:

I have tried looking into if scrollHeight or which height to use that doesn't really seem to matter. It must be something else.
Thank You