<div class="blocks">
<div class="block" style="left: 10px; top: 15px;"></div>
<div class="block" style="left: 10px; top: 25px;"></div>
<div class="block" style="left: 20px; top: 15px;"></div>
<div class="block" style="left: 20px; top: 25px;"></div>
</div>
var styles = $('.blocks > .block').map(function() {
return $(this).attr('style');
}).get();