Update p's div's spans's display:inline and block