can now set width/max-width and height/max-height