reorganize span tags for floats