allow for width to be given in %