dimensions are now specified as numbers (0 for 100%)