Deprecated ‘center’ Tag In HTML 5

Ok, so if your web site is no longer centered in FireFox but still works in Internet Explorer, then remember back to when the ‘center’ tag was deprecated back in HTML 5. FireFox simply will not tolerate this tag any longer and pushes to the standard of having tags DESCRIBE its contents and not DEFINE them.

Anyway, you might get away with replacing your ‘center’ tags with:

‘div style=”text-align: center;”‘

However, it would probably be better to change your architecture to reference an “auto” property in your .css :

“margin: auto;”

“margin-left: auto;”

“margin-right: auto;”