Thank you so much. It took this novice awhile to find this simple solution. I now keep a variable handy: var my4Spaces = ' '.replace(/ /g,'\xa0'); !!! Except the draft of this comment doesn't show the four spaces!!! Anyway, I guess I could also create a loop function to create as many spaces as I desire.