adding style for div containing images