Cross-Browser Text Centering

Found a simple trick to center a text in several browsers including mozilla and chrome. Place the text in a container with a fixed width in another container with these properties: "width: -moz-fit-content; width: -webkit-fit-content; margin: auto;".