text-align HTML doesn't right justify

I figured it out…sorry to bother everyone. There may be other possible changes, but here is my corrected HTML that works.

$w ( ‘#box1’ ). html = ‘

text box1