var TotalWidth = 0; $("#id_of_div img").each(function() { TotalWidth = TotalWidth + $(this).width(); });
On Aug 20, 7:56 am, ToM <[EMAIL PROTECTED]> wrote: > Hi, > > is there a way to calculate the width of all images in a specific > div.? > > the images do have the width-attribute! > > ToM