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
$(document).ready(function(){ var maxWidth = 0; $('section').each(function(){ w = $(this).outerWidth(true); if ( w > maxWidth) maxWidth = w; }); });