converted widths to percentages