try max-width/height