Does anyone know why there is a difference between text-align: center and , text-align:-webkit-center ? For example if you have :
Titl
The text-align CSS property describes how inline content like text is aligned in its parent block element. text-align does not control the alignment of block elements, only their inline content.
text-align: -moz-center;
text-align: -webkit-center;
From the Mozilla Developer Network:
Both WebKit and Gecko support a prefixed version of left, center, and right, that applies not only to inline content but also to block elements. This is used to implement the legacy
align
attributes ontable
elements and<center>
. Do not use these on production Web sites.— MDN's documentation on text-align.