resize and position all the elements in a DIV to match the new dimensions

Kudo^

New Member
on my website, I have a div containing lots of elements. The elements are positioned by coordinates in px and not %.The div has height = 1000px and width = 1000px;on a button click I am resizing the Div to be 500px X 500px;Is there a way I can also resize all the elements inside it without having to go through each one and figure out what the new size and position of each should be? And Also I need to do it without using percentages.I'm just asking if this is possible or looking for hints or tips to do it.Thanks
 
Top