restrict .detail class to div, to make img.detail width correct