handle table center/right alignment