allow % for width and height