converted li elements to % values