Changing formatting of spans