Center Element Code not working

My code appears to be right yet I am unable to run the test successfully. Can someone let me know what I appear to be doing wrong?

  **Your code so far**

<style>
div {
  background-color: blue;
  height: 100px;
  width: 100px;
  margin: auto;
}
</style>
<div></div>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15

Challenge: Center an Element Horizontally Using the margin Property

Link to the challenge:

Your code passes for me.

The issue may be that you have an extension that interferes.

You may have an outdated or incompatible browser.

You may need to clear your browser cache.