using proper css for image alignment