add "align" and "bgColor" attributes