Add an option to use pixels instead of percentages