Force max width/height even with style attribute