Set 'max-width' rather than 'width' so that captions work better with responsive design.