How float the html elements in small blocks but when one block is expand others should align propertly? : i have created list of divs 50px height and 50px width which are floated in main div. but when i expand only on div to 100px height below div will move to next place but there is an empty space before the div which has height 100px