fix browser support for textalign