I have made a quick Jsbin: http://jsbin.com/ujabew/edit#javascript,html,live
What i\'m trying to achieve is to find out which is the largest
Change the .each() loop to this:
.each()
var thisWidth = $(this).outerWidth(true); if (thisWidth > width) { width = thisWidth; }