1) in the majority of cases if you are redirecting like that, there's something WRONG with your server-side handling of things.
2) It's 2020, lose the XML style closures. XHTML was a dead end that the sooner it's in the rear-view mirror, the better.
3) To be valid HTML 5 you need a space after the semi-colon, but beware this BREAKS the functionality in IE8/earlier which is why a lot of people tell HTML 5 validation to go suck an egg. Same reason I tell their media="projection,tv" warnings to sod off.
So
<meta http-equiv="refresh" content="2; url=http://example.com">
Should work. That said, I'd suggest setting it server-side with PHP's header() or whatever language you are using's equivalent.
Now that said, id="center" == /FAIL/... what have I told you? Do not use classes or ID's to say what things look like.
-- edit -- you posted that you found where to put the space whilst I was typing, so I bolded my warning.