The alignment information were already in the generated html. The css was the only thing missing, so I added it.