changed html span and inline styling