Thread:Project:Support desk/How do I keep a mediawiki div element centered horizontally?/reply

There are probably other CSS rules applied that take precedence or overwrite yours.

You give a CSS selector, but you don't specify in what MediaWiki version this has been tested, in what skin, etc, so there's not enough information to reproduce the problem.