(I have of course my own way to impose this condition. But I see no reason why it should not be a general restriction.)
img { position: relative; max-width: 640px; }
(By 'test that it works' do you mean, impose the values to see what they do, or that you updated the style sheet, and can we see a difference? I assume the former. Yes, forcing this style works well.)