copied formating to all elements of nav