Above is me running a copy of your HTML on my local machine. I had to change the relative paths to absolute paths
Around the images that did now work I but a
I put the nobr tag around the offending images.
The images still extend beyond the length of the page, but it solves the problem.
Go to http://socialmediais.us/wc/test.html to see how the code works.
I hope this helps.